+ Start a Discussion


Exception type: class common.apex.runtime.impl.ExecutionException
Exception msg: Attempt to de-reference a null object
Stack trace:
common.apex.runtime.impl.ExecutionException: Attempt to de-reference a null object


Above is a exception I am seeing thrown from a Visualforce Controller class.  I have narrowed down, in the Apex code, the code block area it occurs but I cannot find the error that causes it.  It makes me believe this is a runtime bug in the Apex runtime engine.


Has anyone else seen this exception and have a suggestion on how to debug or fix it.


Could you post the apex code that you think is causing the problem?