Skip to content
Bug Barometer
All issues
Solution Scheduled

Financial Services / Analytics

Deleting Claim vlocity_ins__ClaimLineItem__c gives Attempt to de-reference a null object error

Summary

Deleting Claim vlocity_ins__ClaimLineItem__c gives Attempt to de-reference a null object error. The Delete query executes when deleting claimLineItem__c and it is giving results with NULL values for the vlocity_ins__ClaimCoverageId__r.CurrencyIsoCode field.

There is a logic in InsuranceClaimItemTriggerHandler which is executing after deleting the claim line items to update the reserve amount.
 
Currently, this is failing with error message attempt to dereference a null object at code line

StringcovCurrencyCode = (isMultiCurrencyOrg) ? (String) item.ClaimCoverageId__r.get(KEY_CURRENCY_ISO_CODE) : CurrencyCode.getCurrencyIsoCode(item) in InsuranceClaimItemTriggerHandler;

The claim line item is trying to access the currency ISO code from ClaimCoverageId__r object which does not exist.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Scheduled

    Nov 30, 2026

Deleting Claim vlocity_ins__ClaimLineItem__c gives Attempt to de-reference a null object error · Bug Barometer