You need to sign in to do that
Don't have an account?
Sarath C R
System.NullPointerException: Attempt to de-reference a null object
Anyone please tell me what this means. I've created an apex class and I'm trying to access in VF. It throws an error like the above.
Please help me out. I'm new to apex
Please help me out. I'm new to apex
1. You might be referencing/iterating a variable/list which is just decleared and not defined/initialized
2. There might be cross object field which are referenced in output tags which have null value like blank lookup
3. Your DML action might be happening on some blank/null variable/list
All Answers
1. You might be referencing/iterating a variable/list which is just decleared and not defined/initialized
2. There might be cross object field which are referenced in output tags which have null value like blank lookup
3. Your DML action might be happening on some blank/null variable/list