Loading
Salesforce에서 이메일을 보내기 위해서는 도메인 인증이 필요합니다.더 많이 읽기

Remove Extra Context Tags to fix Quote Calculation Error

게시 일자: Mar 12, 2026
상세 설명

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

Image of the error message appearing.

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:

  1. Navigate to your Context Definitions from Setup.

  2. Select your SalesTransaction CD.

  3. Click the Context Tags tab and select the SalesTransaction node.

  4. Check the Node Tag list; any tag other than SalesTransaction must be deleted.

Image portraying the extra context tag that needs to be removed, next to the SalesTransaction tag.

To remove the tag:

  1. Click Deactivate on the Context Definition header.

  2. Click Edit, then navigate to the Edit Attribute Tags page.

  3. In the left column, ensure SalesTransaction is selected.

  4. In the Node Name section, locate the SalesTransaction tags.

  5. Click the blank space on the far right side of the extra tag (the X to delete it is functional, but currently invisible).
    Image pointing to the extra tag in the SalesTransaction mapping that needs to be removed, highlighting the blank space on the side of the tag where an invisible "x" exists to remove the tag. 

  6. Click Done, then click Save

  7. Activate your Context Definition.

Now, try calculating a Quote to confirm the error is resolved.

Knowledge 기사 번호

005316661

 
로드 중
Salesforce Help | Article