Loading

CPQ error 'Attempt to de-reference a null object' on Quote Configuration

Publiseringsdato: Sep 27, 2025
Beskrivelse
The Salesforce CPQ error message "Attempt to de-reference a null object" can occur in the Quote Line Editor when a required field is missing from the Quote record or Quote Line records.
Løsning

To troubleshoot this issue, ensure that the following fields are populated on all Quote Line records:

  • Quantity
  • List Unit Price OR Special Price


With the necessary permissions to access the Developer Console, you can use the Query Editor tab and paste the SOQL query below to find the required fields for price calculations:

SELECT Id, Name, SBQQ__Quantity__c, SBQQ__ListPrice__c, SBQQ__SpecialPrice__c 
FROM SBQQ__QuoteLine__c WHERE SBQQ__Quote__c = [id]


NOTE: If Quote Lines have related Groups, all Quote Lines must have a Group populated on all Quote Line records.

Knowledge-artikkelnummer

000382175

 
Laster
Salesforce Help | Article