Happy Business Starts Here

Argument cannot be null.Error is in expression in component <zqu:productbundleguidedselling>

Highlighted
Zuora Support

Argument cannot be null.Error is in expression in component <zqu:productbundleguidedselling>

Receiving error Argument cannot be null.
Error is in expression '{!theOptions}' in component <productbundleguidedselling> in component productbundleguidedselling" on Select Products page






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

1 REPLY 1
Zuora Support

Re: Argument cannot be null.Error is in expression in component <zqu:productbundleguidedselling&

In this specifc scenario,it has been observed that erroris thrown from below stack trace

 

FATAL_ERROR|System.NullPointerException: Argument cannot be null.

Class.zqu.ProductActionUtilHelper.getTermMonths: line 95, column 1

 

On reviewing managed package code, it has been identified that error is thrown from line 

return Integer.valueOf(quoteSObject.InitialTerm_c * (periodMultiplier.get(quoteSObject.InitialTermPeriodType_c)));

 

There was a custom default values class which was setting the Initial term to 0. Once the Initial term has been updated to a value, error is resolved






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