vlocity_cmt.CpqAppHandler.assetToOrder returns a null-reference system error when invoked programmatically in Communications Cloud orgs running on the Vlocity CMT managed package after migrating to the Standard Cart API."assetToOrder fails after Standard Cart API was applied"
"After applying Standard Cart API, assetToOrder call fails with Salesforce System Error"
"スタンダード Cart API を適用した後、assetToOrder でエラー"
"スタンダード Cart API を適用した後、vlocity_cmt.CpqAppHandler.assetToOrder を実行するとエラーが発生しています"
Salesforce System Error: [error code]-617090
Attempt to de-reference a null object
内部サーバーエラーが発生しました。エラー ID: 1123585802-164224 (-1446239866)
assetToOrder is executed via Apex or an OOB Integration Procedure (e.g., CPQ_AssetToOrder) against asset hierarchies where required CPQ field data is missing.⚠️ Important UI Distinction: The asset may still convert successfully using the standard Asset Viewer UI. This is because the UI processing path utilizes a legacy code branch that tolerates null values. Consequently, a successful UI conversion does not guarantee clean data.
vlocity_cmt__LineNumber__cvlocity_cmt__Action__cCause 1: Missing vlocity_cmt__LineNumber__c on a child Asset
assetToOrder request payload.SELECT Id, Product2.Name, vlocity_cmt__LineNumber__c, vlocity_cmt__RootItemId__c
FROM Asset
WHERE vlocity_cmt__RootItemId__c = '<root-asset-uuid>'
vlocity_cmt__LineNumber__c is null.vlocity_cmt__LineNumber__c on the asset record with the correct sequential value used by its sibling assets (e.g., 1, 2, 3).vlocity_cmt__Action__c on a child AssetSELECT Id, vlocity_cmt__Action__c, vlocity_cmt__AssetReferenceId__c, vlocity_cmt__RootItemId__c
FROM Asset
WHERE vlocity_cmt__RootItemId__c = '<root-asset-uuid>'
vlocity_cmt__Action__c is null, update the field to a valid CPQ action value that matches your operational design (e.g., Existing, Add, Change, or Disconnect).assetToOrder is invoked via a custom middleware or API layer, ensure that layer explicitly maps and passes the vlocity_cmt__Action__c value during payload construction so new lines are not persisted as null.vlocity_cmt__AttributeAssignment__c object for orphan rows missing required references, delete them, and re-run the cache jobs.CPQ_AssetToOrder) against the root asset ID. The response should now successfully return success=true along with a valid MasterOrderId instead of the system error.005385177

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.