You need to sign in to do that
Don't have an account?
faceroy123
System.NullPointerException: Attempt to de-reference a null object
Hi,
I have a custom process for converting leads in our org.
I have added some more fields to this to map over to opportunities that are created upon conversion.
However upon testing the class i'm getting this error: System.NullPointerException: Attempt to de-reference a null object
"Class.CustomLeadConverterController.<init>: line 81, column 1
Class.CustomLeadConverterControllerTest.myUnitTest: line 81, column 1"
Here is the test:
I need to deploy these changes but unsure what that message means and what I need to amend in order to fix.
Thanks
which is line 81 for you?