You need to sign in to do that
Don't have an account?
Angela Schloeder
Only 1 User receives this error: Attempt to de-reference a null object
I have 1 User that is receiving this error and i do not know why. I have even created a new profile; didn't work. So I created a new user for him; still get same error.
This is a visualforce page of the users tasks that can be modified and saed on the page without having to open the Task.
Attempt to de-reference a null object
Error is in expression '{!saveRecord}' in component <apex:commandButton> in page allopentasks: Class.TaskController.saveRecord: line 145, column 1
This is a visualforce page of the users tasks that can be modified and saed on the page without having to open the Task.
Attempt to de-reference a null object
Error is in expression '{!saveRecord}' in component <apex:commandButton> in page allopentasks: Class.TaskController.saveRecord: line 145, column 1
It's due to the record which this user is trying to save is not having some field accessibility. Kindly check the FLS for that user's profile against this object which you are saving in the code.
Thanks,
Arun