You need to sign in to do that
Don't have an account?
Querying ApexExecutionOverlayResult via the Tooling API gives an UNKNOWN_EXCEPTION
I'm trying to send a SOQL query to the Tooling API (Soap version) to bring back the ApexExecutionOverlayResult records.
If I send the query:
I get the result:
The same issue occurs if I include any of these fields (which are typically the most interesting fields in the checkpoint output):
If I send the query:
Select Id, HeapDump from ApexExecutionOverlayResult
I get the result:
UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 1377859780-46461 (1693774395)
The same issue occurs if I include any of these fields (which are typically the most interesting fields in the checkpoint output):
- HeapDump,
- ApexResult,
- SOQLResult
All Answers
Tooling api can be used in Workbench using REST Explore tab. Not sure, if it can be used in Developer Console.
>> https://help.salesforce.com/apex/HTViewSolution?urlname=Winter-14-How-can-I-get-the-code-coverage-of-a-class-using-the-API-186&language=en_US
Regards
Pramod
Hi Pramod,
The question isn't about the REST API. It is about the SOAP API. The error can be replicated with the developer console when sending the SOQL query to the Tooling API.
Code coverage is not applicable here. This is about getting the heap dump from the execution overlay.
Regards,
Daniel