You need to sign in to do that
Don't have an account?
renu anamalla 9
Null pointer exception n view state and view state error
Please explain briefly...how to reduce the view state n how solve the nullpointer give me one example
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
1. To know about View state nothing better than the salesforce documentation. Link https://developer.salesforce.com/page/An_Introduction_to_Visualforce_View_State
2. Null pointer exception occurs when you are trying to use any object without initialization. For eg.
Thanks
Anupama
2. View State :Salesforce allows Visualforce pages to have a maximum view state size of 135KB. A smaller view state size generally means quicker load times. In order to avoid this error, minimize your pages' view state.
Here is good explaination to handle view state :https://developer.salesforce.com/page/An_Introduction_to_Visualforce_View_State
This will be helpful to resolve your problem.
Thanks,