+ Start a Discussion
Steven Boyd 15Steven Boyd 15 

CPQ 'Attempt to de-reference null object' on Service Contract Renewal

Hi,

I am trying to renew a Sevice Contract that has subscription products but I am getting the following error:

"Error:Apex trigger SBQQSC.ServiceContractAfter caused an unexpected exception, contact your administrator: SBQQSC.ServiceContractAfter: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a null object: Class.SBQQ.RenewalQuoteGenerator.loadAssets: line 1546, column 1"

Has anyone experienced this issue boefore and been able to resolve it?

Thanks

Steven
manjunath.tjmanjunath.tj
Hi Steven,

I had the same issue. It sounds little vague, but unchecking "Preserve Bundle Structure" did resolved this error. Error is due to a Required By/Parent Product lookup matching missing on Subscription. Give it a try.
Steven Boyd 15Steven Boyd 15
Thanks Manjunath, I'll try that and see what happens. It's only happening on some Service Contracts so your suggestion does make sense