+ Start a Discussion

Null pointer exception in packages



       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.