You need to sign in to do that
Don't have an account?
Abdul Mujeeb Shaik
In Test class System.NullPointerException
Hi All
i am getting this error in test class:
Error Msg:
System.NullPointerException: Attempt to de-reference a null object
In My Controller i used this:
Awaitng for ur Response.
Thanks & Regards
i am getting this error in test class:
Error Msg:
System.NullPointerException: Attempt to de-reference a null object
In My Controller i used this:
Map <String, Schema.SObjectField> fieldMap = schemaMap.get(selectedObject).getDescribe().fields.getMap(); Schema.DescribeSObjectResult R = schemaMap.get(selectedObject).getDescribe();selectedObject is a picklist, there will be always a value 'Sobject'. Please help me out in this.
Awaitng for ur Response.
Thanks & Regards
Meanwhile try this :