I received an error in processing an online donation through batch upload:System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, rC_Connect.Opportunity_BeforeInsert: execution of BeforeInsertcaused by: System.NullPointerException: Attempt to de-reference a null object(rC_Connect): [](rC_Connect): method = CreateGivingIs this due to an error in an apex trigger that I am not aware of? I checked active workflows and apex triggers and was unable to find a problem with either. Code is not one of my languages, so I could have easily missed something.
HI Kristen,yes if you are doing Batch then it is possible that error is from Trigger, it seems like trigger is referring an id which is not yet generated by the system.Please verify the trigger or you can paste it here.Thanks,Himanshu