Loading
ただいま大変多くのお問い合わせをいただいており、ご連絡までにお時間を頂戴しております続きを読む

Revenue - Salesforce CPQ (Managed Package): Error 'Attempt to de-reference a null object' on Quote Configuration

公開日: Jun 30, 2026
説明

In Revenue - Salesforce CPQ, users may encounter the following error in the Quote Line Editor during quote configuration:

Attempt to de-reference a null object

This error can occur when a required field value is missing from the Quote record or related Quote Line records.

解決策

Revenue - Salesforce CPQ requires certain field values on Quote Line records to complete price calculations and quote configuration. If required values are missing, CPQ may be unable to process the quote and can return the error:

Attempt to de-reference a null object

This may occur when one or more Quote Line records are missing values such as Quantity, List Unit Price, or Special Price.

If Quote Lines are associated with Quote Line Groups, the error can also occur when some Quote Line records do not have a Group populated.


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

  • Quantity
  • List Unit Price or Special Price

Users with the required permissions can use the Developer Console to query the Quote Line records and check whether the required fields are populated.

  1. Open Developer Console.
  2. Go to the Query Editor tab.
  3. Run the following SOQL query, replacing [id] with the Quote record ID:
SELECT Id, Name, SBQQ__Quantity__c, SBQQ__ListPrice__c, SBQQ__SpecialPrice__c
FROM SBQQ__QuoteLine__c
WHERE SBQQ__Quote__c = '[id]'

Review the query results and update any Quote Line records where required values are missing.

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

ナレッジ記事番号

000382175

 
読み込み中
Salesforce Help | Article