"Attempt to de-reference a null object" error is typically caused by a line of code that is searching for a value that does not exist because a particular field value is null or invalid. Sales Users may encounter the following Exception when using the standard CPQ Amend button to modify a Contract.
This error indicates that either asset or subscription records are missing required field values. Legacy data upload with Renewals and Amendments in Salesforce CPQ details the requirements for migrating data, a common cause of fields missing required values. The product record may also contain a null value in a field that requires data such as Subscription Pricing. Review and confirm the required subscription and asset fields are populated with the appropriate values.
Note: In the context of Salesforce CPQ, an amendment refers to a change or modification made to an existing contract, allowing for adjustments to pricing, quantities, or products. Commonly used wording to represent contract amendments are Upsell, Downsell, Change Order, and Cancel and Replace. The CPQ Quote identifies if a sale is an amendment where its Type field equals Amendment.
000383671

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.