How can I tell what error I have?
System.UnexpectedException: Internal Salesforce Error: 224634669-218106 (-854602049) (-854602049) Stack Trace: External entry point Class.CandidatesTabsTest.testMyController: line 185, column 1
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
That is a GACK response. See What Is A Gack?
A gack is what happens when an error got thrown within our application and we didn’t catch it and handle it.
What this means is that it’s not your fault. It’s ours. That’s why we apologize in that message. Sorry!
Basically, something broke internally within Salesforce and the only thing to come out to you is the GACK error code.
You will need to examine what that test class is doing to try and isolate the problem. Raising a support case is also an option as they can tell you what caused the underling fault.
If you find raising a support case to get the GACK details, er, challenging, please consider voting for the idea:
As per What Is A Gack?, the number in the parentheses of a GACK Error Id is the general stack trace id.
This represents the common stack trace for a specific internal error.
Create a system that exposes limited information about that general error that will be useful to users. Users could be directed there directly from the GACK error page.
- Is there a fix scheduled in the next release for that error
- What are the common causes of the error and work arounds
- If it is reproducable by Salesforce (I.e. should you go to the effort of telling Salesforce how it occured)
Ideally this will remove the need to contact support to determine what went wrong until the internal fix is deployed. Especially if they already know what is going wrong or have already fixed it for the next release.
It might be tied into the known issues system.