function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hmoh1920hmoh1920 

problem to exectute test class

Hi,

 


I tried to execute a test class I had this error!

"

Visualforce Error


java.lang.reflect.InvocationTargetException

 

"

 

before  today my class exectute well!

 

please , is salesforce problem or is to my class test?

 

thanks.

Best Answer chosen by Admin (Salesforce Developers) 
NiketNiket

1996896958-5869(-1125565886)

 

digit in red color is stack trace id. Now you need to contatct salesforce support and provide the id to them.  They will be able to tell you the exact problem by using their internal tool

All Answers

NiketNiket

Hi , This is not the actual error. set the debug log and check there. You should get the actual problem.

 

Let me know if you are still not able to find the root cause.

 

Please mark it as the solution if it answers your question and if you have any question, let me know.

 

Ckeck My Blog

 

 

hmoh1920hmoh1920

this is a message display to my eclips platform into run a test class:

 

unable to run tests on 'testCode.cls'
running test:testcode, time spent on that test: 340ms, total time spent running tests:1323ms.
error:UNKNOWN_EXCEPTION:An unexpected error occurred. Please
include this ErrorId if you contact support:(1996896958-5869(-1125565886).

 

you have an idea?

 

thanks

 

 

NiketNiket

1996896958-5869(-1125565886)

 

digit in red color is stack trace id. Now you need to contatct salesforce support and provide the id to them.  They will be able to tell you the exact problem by using their internal tool

This was selected as the best answer
hmoh1920hmoh1920

Thanks Niket!

OpenEnglishOpenEnglish

Do you find any solution? 

We have exactly the same problem! 

please just let me know!

Thanks

Andres

hmoh1920hmoh1920

Hi,

 

before your class test excuted ?
we must  contacted support salesfore , the problem is to their level!

OpenEnglishOpenEnglish

Hello!!!

Yes.. before everything used to work!

We contacted salesforce last week.. But they haven't answer yet

yours works now?

hmoh1920hmoh1920

Hi,

 

this salesforce contact mail:  support@salesforce.com