When users attempt to add products to or calculate a Quote, the system fails and displays the following error message:
Your quote was not updated. Cannot invoke "java.util.Map.get(Object)" because the return value of "java.util.HashMap.get(Object)" is null
This occurs because the SalesTransaction Context Definition (CD) contains an unexpected attribute tag in the SalesTransaction node. If additional Node Tags exist, the calculation engine fails, resulting in this error. It will also be noticed that the CalculationStatus field on the Quote becomes PriceCalculationFailed.
To determine if your Context Definition contained an extra tag:
Navigate to your Context Definitions from Setup.
Select your SalesTransaction CD.
Click the Context Tags tab and select the SalesTransaction node.
Check the Node Tag list; any tag other than SalesTransaction must be deleted.
To remove the tag:
Click Deactivate on the Context Definition header.
Click Edit, then navigate to the Edit Attribute Tags page.
In the left column, ensure SalesTransaction is selected.
In the Node Name section, locate the SalesTransaction tags.
Click the blank space on the far right side of the extra tag (the X to delete it is functional, but currently invisible).
Click Done, then click Save.
Activate your Context Definition.
Now, try calculating a Quote to confirm the error is resolved.
005316661

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.