Getting Null Value Exception on Custom setting on sandbox while testing ???
Dont panic!!!!!!!!!!! ......
Also if You are trying to get custom setting with " get()" method it will not make a call instead it will throw a null pointer exception . But if you will try with SOQL in developer console It will work ..
So just to over come this problem .. do this :-
. just to do small thing.. Just Edit the name and try to save them again
Definetly it will Work ...
It happens Because of some cache memory doesnt get refresh properly After Sand Box refresh..
If still You get error Do contact me ankushsalesforce@gmail.com
Also if You are trying to get custom setting with " get()" method it will not make a call instead it will throw a null pointer exception . But if you will try with SOQL in developer console It will work ..
So just to over come this problem .. do this :-
. just to do small thing.. Just Edit the name and try to save them again
Definetly it will Work ...
It happens Because of some cache memory doesnt get refresh properly After Sand Box refresh..
If still You get error Do contact me ankushsalesforce@gmail.com
No comments:
Post a Comment