Palantir Technologies Inc. was granted US patent 12,809,875, "Stack Trace Search", on November 24, 2026, according to the USPTO record. It covers turning a programmer's stack trace into a search for the relevant source code and for past discussions of the same errors.
The inventors are Kevin Whelan and Ranajay Sen, according to the published application. That application, number 18383349, was filed on October 24, 2023, and published as US20240054137A1 on February 15, 2024. It continues a family that began with a December 12, 2016 filing, now US patent 10,628,428.
The patent says a stack trace gives a programmer "a report of the active stack frames at a certain point during execution of a program." It notes that "a programmer may not have written a portion of the code and therefore the results of the stack trace may be difficult to understand." It adds that a trace and error message "often include a large amount of common and/or irrelevant data that makes it difficult to search for additional information pertaining to the error."
In the approach described, a developer pastes a stack trace into a search box. That search box could sit in "a stand-alone application, one or more application plug-ins, and/or a browser extension". An "error management system" parses the trace and searches two places:
- a class mapping table, which lists programming classes with links to their source code
- an error discussion database of user-generated postings about programming errors
The description gives Slack and in-house collaboration tools as possible sources of those postings. These are places where "users may have pasted errors or stack traces into a message and asked other users for help with the issue."
The first independent claim, claim 1, protects a method with these steps:
- Receive a search query containing a stack trace.
- Parse it by removing irrelevant data from the trace.
- Search the class mapping table and the error discussion database.
- Display the results with links to source code.
- When a link is selected, access the source code of the class tied to the stack trace.
The claim also sets two conditions. The source code must be stored in a different repository from the mapping table. The results must be ranked by the number of errors each one indicates.
Claim 5 covers the same operations as a system. Claim 9 covers a method that searches several data sources. Dependent claims name timestamps and common errors as examples of the irrelevant data that is removed.
The patent does not name Foundry, Gotham, AIP, Apollo or any other Palantir product. It places the work in the technical field of special-purpose machines that generate search results.
In our view, the patent fits developer tooling: debugging aids and code search that connect an error both to the code behind it and to colleagues who have already discussed it. We think the claims are notably specific. They do not cover stack trace search in general but a combination of cleaning the trace, linking to code held in a separate repository, and ranking results by error count.
