SAP Knowledge Base Article - Preview

3505937 - JSONException in the JMS Adapter

Symptom

You are using the PO JMS adapter, and the below error is thrown when messages are being processed:

"[EXCEPTION]
com.sap.aii.af.lib.mp.module.ModuleException: Error during processing local bean: localejbs/Custom_AF_Modules/FormatConversionBean
at com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:299)

..

Caused by: org.json.JSONException: A JSONObject text must end with '}' at 2 [character 3 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:433)
at org.json.JSONObject.<init>(JSONObject.java:203)
at org.json.JSONObject.<init>(JSONObject.java:324)
at com.equalize.xpi.util.converter.ConversionJSONInput.<init>(ConversionJSONInput.java:16)
at com.equalize.xpi.af.modules.json.JSON2XMLConverter.parseInput(JSON2XMLConverter.java:52)
at com.equalize.xpi.af.modules.FormatConversionBean.processModule(FormatConversionBean.java:17)
at com.equalize.xpi.af.modules.util.AbstractModule.process(AbstractModule.java:49)"


Read more...

Environment

SAP NetWeaver 7.5

Keywords

Process Integration, PI, Process Orchestration, PO, NetWeaver, JMS,  JSONObject, JSONException, equalize.com/com.equalize.xpi.af.modules.app, org.json.JSONException: A JSONObject text must end with '}' at 2 [character 3 line 1] , KBA , BC-XI-CON-JMS , JMS Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.