+ Start a Discussion

java.lang.reflect.InvocationTargetException on click of RUN ALL TESTS to get "Apex Test Result "



I am trying to check the current  Apex Test Result 

So after clicking RunAllTest i am getting "java.lang.reflect.InvocationTargetException" error. I am doing this from Salesforce.com sandbox Chrome browser.


Please let me know the solution if anyone already faced any such issue.





This looks like an internal error from the underlying application server to me.  I'd suggest you raise this with support.


Have you tried running all the tests from the force.com ide (eclipse)?  That will probably take a slightly different route and may work out for you.


Thanks for reaching me.


Well I checked my debug lof after getting this and can see a issue in that . Which is cause of Too Many DML 101. ( Seems a trigger issue ) but SFDC failed to catch this exception.


Will add the findings further.


Thakns again Bob.


Well that's good news - usually when I get these type of errors the platform swallows the underlying cause.


Keep us updated.

Ankit AroraAnkit Arora

This is strange! Am keen to know what exactly happen when the 101 DML error is resolved?


And if it is not then post your code here, we can help you in that.




Ankit Arora

Blog | Facebook | Blog Page


<apex:page standardController="Contact">
  <social:profileViewer entityId="{!Contact.Id}"></social:profileViewer>
  <chatter:feed entityId="{!Contact.Id}"/>

Yves PerronYves Perron
1 user have an error when editing a subscription for a report. and click on "Save & Run Now" button.  It works for may users, but we have one user that has this issue.