Error:
“Attempt to de-reference a null object” while amending migrated contracts/subscriptions.
This is the classic CPQ issue when legacy contract/subscription data is missing required fields.
Subscription Start / End Dates
Quantity
Price fields
Billing Frequency
Term
Amendment-related fields (AmendmentStartDate, etc.)
Subscription Product
Related Order Product
Related Asset (if asset-based)
During amendment, CPQ expects:Missing or incorrectly populated fields cause CPQ code to attempt to reference null values → null pointer exception.
Thus:
✔ C. Required fields are missing or incorrectly populated
Why the other options are incorrect:Option
Why Incorrect
A. Migrated contracts cannot be amended
False. Salesforce explicitly supports amendments on migrated data if fields are populated correctly.
B. Asset-based renewal required
Not required—CPQ supports quote-based and asset-based renewal models.
D. Missing lookup to source Quote Line
Not required for legacy subscriptions; CPQ amendments work without source quote lines.
Thus C is the only valid root cause.
Submit