Labels
Reply
Highlighted
Contributor
Posts: 85
Registered: ‎09-26-2016
Accepted Solution

Calculation error on quote Q-xxx: System.NullPointerException: Attempt to de-reference a null object

Getting an error on all QueueableCalculatorService Apex jobs.

 

 

Calculation error on quote Q-00006: System.NullPointerException: Attempt to de-reference a null object

(SBQQ)

Also when just bringing up the QLE gives this in the web console:

 

 

Main thread received error from precache sequence RelatedRecordSequence: System.NullPointerException: Attempt to de-reference a null object

Also getting the same error when in the QLE just after clicking the Save button in the Add Products screen:

 

Alert: Attempt to de-reference a null object.

And this in the console:

Visualforce Remoting Exception: Attempt to de-reference a null object

action: "SBQQ.ServiceRouter"
data: Array(3) 
0:"JSQCLookupFieldServiceProvider.JSQCLookupFieldLoader"
1:"AllAdditionalLookups"
2:"{"queryInfo":{"Opportunity":{"referencedIds":["00641000009fMclAAE"]}}}"
length:3

Any idea?

 

Dennis Palmer
Director -
CPQ Practice
dennispalmer@sovereigncrm.com
Community Manager
Posts: 633
Registered: ‎10-02-2015

Re: Calculation error on quote Q-xxx: System.NullPointerException: Attempt to de-reference a null ob

Do you have any formula fields which are going two or more lookups away from the Quote/Quote Line/Quote Line Group objects? For example, a formula on the Quote of SBQQ__Opportunity2__r.Account.Name would throw this error. Or a formula on the Quote Line of SBQQ__ProductOption__r.SBQQ__Feature__r.Name. Those types of things would cause this.

New Contributor
Posts: 11
Registered: ‎06-21-2016

Re: Calculation error on quote Q-xxx: System.NullPointerException: Attempt to de-reference a null ob

Dennis, were you able to figure out what the root cause was?  We're having the same issue

Community Manager
Posts: 87
Registered: ‎10-05-2015

Re: Calculation error on quote Q-xxx: System.NullPointerException: Attempt to de-reference a null ob

@speedyb166 please post your questions to the cpq and billing tab in success.salesforce.com 

 

This forum is old.