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
csreddy7799csreddy7799 

Null pointer exception in packages

Hi,

 

       In production we have installed our package, in one page am getting null pointer exception. I have created same page and controller in sand box and deployed in same production, now am not getting that exception even though it is same code. Pl help.

ForceMantis (Amit Jain)ForceMantis (Amit Jain)
Exception from managed packages are very hard to trouble shoot. Best practice is that you associate a user from your packaging org at time of uploading package that will get any unhandled exceptions. That exception mail contains full details about stack trace and error message.