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
alchemyalchemy 

System null pointer exception

i have created record types in my salesforce .

when i enter values in it after clicking the save button it is giving me the following error 

System.NullPointerException: Attempt to de-reference a null object 

Y is it happening? 

bob_buzzardbob_buzzard

Sounds like you have a bug in an Apex trigger or if this is a VF page, your visualforce controller.

 

Did you get a stacktrace for the error?

yvk431yvk431

Yes , please provide more info regarding the component in which got this error.