Happy Business Starts Here

Cannot Clone a product on Quote because of Attempt to de-reference a null object Error.

Highlighted
Zuora Support

Cannot Clone a product on Quote because of Attempt to de-reference a null object Error.

Question:  Experiencing Attempt to de-reference a null object Error while cloning a product on quote, which has below reference from the stack trace. 

System.NullPointerException: Attempt to de-reference a null object

Class.zqu.CpqSelectProductController.AddProductHandler.sortProducts: line 4283, column 1

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

2 REPLIES 2
Zuora Support

Re: Cannot Clone a product on Quote because of Attempt to de-reference a null object Error.

Solution:  This Error usually happens when the PRP and PRPC related to the product are not validated Or if any of these records missing. 

 

Once these are synced correctly and validated, the error should be resolved. 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Support SME

Re: Cannot Clone a product on Quote because of Attempt to de-reference a null object Error.

To clarify above, please make sure ALL product Rate plans (that are added to the original Quote) have at least one valid  PRPC created .






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √