Skip to main content
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 BeforeInsert

caused by: System.NullPointerException: Attempt to de-reference a null object

(rC_Connect)

: [](rC_Connect)

: method = CreateGiving

Is 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.

 
1 answer
  1. Jun 23, 2015, 3:23 PM
    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
0/9000