IBM Support

The XML JSON Transformer Service errors when transforming JSON to XML

Troubleshooting


Problem

Transforming XML to JSON using the XML JSON Transformer Service works properly, but transforming JSON to XML throws an error.

Symptom

com.sterlingcommerce.woodstock.workflow.WorkFlowException: java.lang.NullPointerException
[2024-12-02 15:07:37.073] ERRORDTL [1733170057073]com.sterlingcommerce.woodstock.workflow.WorkFlowException: com.sterlingcommerce.woodstock.workflow.WorkFlowException: java.lang.NullPointerException
  at com.sterlingcommerce.woodstock.services.xmljsontransformer.xmljsontransformer.processData(xmljsontransformer.java:72)
  at com.sterlingcommerce.woodstock.workflow.activity.engine.ActivityEngineHelper.invokeService(ActivityEngineHelper.java:1826)
  at com.sterlingcommerce.woodstock.workflow.activity.engine.ActivityEngineHelper.nextMainLogic(ActivityEngineHelper.java:631)
  at com.sterlingcommerce.woodstock.workflow.activity.engine.ActivityEngineHelper.next(ActivityEngineHelper.java:362)
  at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.doWork(WorkFlowQueueListener.java:459)
  at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.run(WorkFlowQueueListener.java:240)
  at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.onMessage(WorkFlowQueueListener.java:197)
  at com.sterlingcommerce.woodstock.workflow.queue.WorkFlowQueueListener.onMessage(WorkFlowQueueListener.java:184)
  at com.sterlingcommerce.woodstock.workflow.queue.wfTransporter.run(wfTransporter.java:447)
  at com.sterlingcommerce.woodstock.workflow.queue.BasicExecutor$Worker.run(BasicExecutor.java:508)
  at java.lang.Thread.run(Thread.java:826)

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"ARM Category":[{"code":"a8m50000000Cjs6AAC","label":"System Administration-\u003EAdapters and Services"}],"ARM Case Number":"TS017899895","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Sterling B2B Integrator

Component:
System Administration->Adapters and Services

Software version:
All Versions

Document number:
7181607

Modified date:
24 January 2025

UID

ibm17181607

Manage My Notification Subscriptions