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
Stephen E 4Stephen E 4 

Getting an error in developer console, but log wont give me any details

Hello!

I am getting a "Attempt to de-reference a null object" error in the developer console. I go to the log section and double click on the log, and find the error message. Though it doesnt tell me anything about what the cause is or where its coming from... all it says is "12:24:10:089 FATAL_ERROR System.NullPointerException: Attempt to de-reference a null object" 


is there anyway I can view the full strack trace? (Would like to see line, column, variable, etc). 
Best Answer chosen by Stephen E 4
Charisse de BelenCharisse de Belen
Hi Stephen,

In Developer Console, you can click under Debug > View Log Panels... to show you some additional panels such as Stack Tree and Source. These may help you locate the issue.

User-added image

All Answers

Mamadou Diallo 14Mamadou Diallo 14
Can you post your code?
Charisse de BelenCharisse de Belen
Hi Stephen,

In Developer Console, you can click under Debug > View Log Panels... to show you some additional panels such as Stack Tree and Source. These may help you locate the issue.

User-added image
This was selected as the best answer