SalesforceFoundation / NPSP

The current version of the Salesforce.org Nonprofit Success Pack
http://www.salesforce.org/nonprofit/nonprofit-success-pack/
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

BDI “Attempt to de-reference null object” error on a valid negative scenario, it's preventing valid Data Import records from processing #4597

Closed JavierFerreira closed 2 years ago

JavierFerreira commented 5 years ago

" Attempt to de-reference null object' errors are persisting through to subsequent DIs

If a DI processing fails with “Attempt to de-reference null object” because it has data from an already deleted field (this is expected). All the following DIs with valid data fail with the same message (not expected), even if the failed DI is deleted from the list view. This makes the DI functionality unusable from that point onwards.

Pre-Conditions: Advanced Mapping should be enabled when starting. Have a custom field mapped through UI

Steps to reproduce: 1- Create a DI with data on the field from precondition (but don’t process the DI yet) 2- Go to CMT and delete the field mapping for the field on step 1 3- Go to Object Manager and delete the field from the Data Import Object 4- Go to NPSP Data import again, choose All from list view and start Import process with “Single Match or create”. This will give “Attempt to de-reference null object” but it is expected. 5- Go back to DI list view and delete the failed DI. 7- Refresh the page and proceed to create a new DI with valid information (the field from the previous steps is no longer present on the DI object). 8- Process the DI that has all valid data. Expected Result: The new DI with valid data should be processed correctly without any issue. Actual result: New DI fails with message “attempt to de-reference null object” even if all the data entered is valid.

JavierFerreira commented 5 years ago

**lurch: attach W-035485

coriobriensfdo commented 5 years ago

**lurch: attach W-035485

LurchTheButler commented 5 years ago

Tracking W-035485

mbeaty-sf commented 3 years ago

W-7783066

jesslopez-sf commented 2 years ago

Please follow this Known Issue in the Trailblazer Community for updates.