My Oracle Support Banner

Failed To Translate JSON To XML. Org.codehaus.jackson.JsonParseException: Illegal Character (Doc ID 2575085.1)

Last updated on JULY 28, 2020

Applies to:

SOA Suite Cloud Service - Version N/A to N/A
Information in this document applies to any platform.

Symptoms

On : NA version, Core SOA Product Issues

Failed to translate JSON to XML. org.codehaus.jackson.JsonParseException: Illegal character


<Error> <oracle.tip.pc.services.translation.xlators.json.JsonTranslator> <BEA-000000> <JsonTranslator.translateFromNative reader Exception caught
javax.xml.stream.XMLStreamException: org.codehaus.jackson.JsonParseException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens
at [Source: java.io.BufferedReader@4144c78b; line: 1, column: 2]
at de.odysseus.staxon.base.AbstractXMLStreamReader.initialize(AbstractXMLStreamReader.java:167)
at de.odysseus.staxon.json.JsonXMLStreamReader.<init>(JsonXMLStreamReader.java:64)
at de.odysseus.staxon.json.JsonXMLInputFactory.createXMLStreamReader(JsonXMLInputFactory.java:118)
at oracle.tip.pc.services.translation.xlators.json.JsonStreamFactory.createJsonStreamReader(JsonStreamFactory.java:100)
at oracle.tip.pc.services.translation.xlators.json.JsonSaxEventsGenerator.getJsonStreamReader(JsonSaxEventsGenerator.java:219)
at oracle.tip.pc.services.translation.xlators.json.JsonSaxEventsGenerator.<init>(JsonSaxEventsGenerator.java:111)
at oracle.tip.pc.services.translation.xlators.json.JsonTranslator.translateFromNative(JsonTranslator.java:167)
at oracle.tip.pc.services.translation.xlators.json.JsonTranslator.translateFromNative(JsonTranslator.java:114)
at oracle.tip.pc.services.functions.TranslatorFacade.__translateFromNativeToDOM(TranslatorFacade.java:404)
at oracle.tip.pc.services.functions.TranslatorFacade.xlateFromNative(TranslatorFacade.java:386)
at oracle.tip.pc.services.functions.TranslatorFacade.translateFromNativeString(TranslatorFacade.java:174)
at oracle.tip.pc.services.functions.TranslatorFacade.translateFromNative(TranslatorFacade.java:89)
at com.collaxa.cube.xml.xpath.functions.util.TranslateFromNativeBPELXPathFunction.call(TranslateFromNativeBPELXPathFunction.java:75)
at com.collaxa.cube.xml.xpath.BPELXPathFunctionWrapper.evaluate(BPELXPathFunctionWrapper.java:80)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:213)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:182)
at oracle.xml.xpath.XPathExtFunction.evaluate(XPathExtFunction.java:335)
at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:226)
at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:252)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromExpression(BPEL2FromToOperationPerformer.java:524)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalExpression(BPEL2FromToOperationPerformer.java:277)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.doEvalFromValue(BPEL2FromToOperationPerformer.java:423)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromValue(BPEL2FromToOperationPerformer.java:217)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.performAssign(BPEL2FromToOperationPerformer.java:84)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2AssignOperationPerformer.perform(BPEL2AssignOperationPerformer.java:140)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.BPEL2AssignWMP.__executeStatements(BPEL2AssignWMP.java:75)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:197)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:195)
at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper$1.call(SWSComponentProcessActivityWrapper.java:74)
at com.collaxa.bpel.sws.SWSCallableActivityWrapper.execute(SWSCallableActivityWrapper.java:89)
at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper.execute(SWSComponentProcessActivityWrapper.java:82)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:205)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2922)
at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1289)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1178)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:92)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:300)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:379)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4948)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4872)
at com.collaxa.cube.engine.CubeEngine._callbackPerformer(CubeEngine.java:1499)
at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1423)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.callbackPerformer(CubeEngineBean.java:403)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.callbackPerformer(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.instance.CallbackPerformerMessageHandler.handle(CallbackPerformerMessageHandler.java:58)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:154)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:150)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:239)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
Caused By: org.codehaus.jackson.JsonParseException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens
at [Source: java.io.BufferedReader@4144c78b; line: 1, column: 2]
at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1433)
at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521)
at org.codehaus.jackson.impl.JsonParserMinimalBase._throwInvalidSpace(JsonParserMinimalBase.java:467)
at org.codehaus.jackson.impl.ReaderBasedParser._skipWSOrEnd(ReaderBasedParser.java:1491)
at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:368)
at de.odysseus.staxon.json.stream.jackson.JacksonStreamSource.read(JacksonStreamSource.java:35)
at de.odysseus.staxon.json.stream.jackson.JacksonStreamSource.peek(JacksonStreamSource.java:101)
at de.odysseus.staxon.json.stream.util.AddRootSource.peek(AddRootSource.java:132)
at de.odysseus.staxon.json.JsonXMLStreamReader.consume(JsonXMLStreamReader.java:123)
at de.odysseus.staxon.json.JsonXMLStreamReader.consume(JsonXMLStreamReader.java:126)
at de.odysseus.staxon.json.JsonXMLStreamReader.consume(JsonXMLStreamReader.java:156)
at de.odysseus.staxon.base.AbstractXMLStreamReader.initialize(AbstractXMLStreamReader.java:165)
at de.odysseus.staxon.json.JsonXMLStreamReader.<init>(JsonXMLStreamReader.java:64)
at de.odysseus.staxon.json.JsonXMLInputFactory.createXMLStreamReader(JsonXMLInputFactory.java:118)
at oracle.tip.pc.services.translation.xlators.json.JsonStreamFactory.createJsonStreamReader(JsonStreamFactory.java:100)
at oracle.tip.pc.services.translation.xlators.json.JsonSaxEventsGenerator.getJsonStreamReader(JsonSaxEventsGenerator.java:219)
at oracle.tip.pc.services.translation.xlators.json.JsonSaxEventsGenerator.<init>(JsonSaxEventsGenerator.java:111)
at oracle.tip.pc.services.translation.xlators.json.JsonTranslator.translateFromNative(JsonTranslator.java:167)
at oracle.tip.pc.services.translation.xlators.json.JsonTranslator.translateFromNative(JsonTranslator.java:114)
at oracle.tip.pc.services.functions.TranslatorFacade.__translateFromNativeToDOM(TranslatorFacade.java:404)
at oracle.tip.pc.services.functions.TranslatorFacade.xlateFromNative(TranslatorFacade.java:386)
at oracle.tip.pc.services.functions.TranslatorFacade.translateFromNativeString(TranslatorFacade.java:174)
at oracle.tip.pc.services.functions.TranslatorFacade.translateFromNative(TranslatorFacade.java:89)
at com.collaxa.cube.xml.xpath.functions.util.TranslateFromNativeBPELXPathFunction.call(TranslateFromNativeBPELXPathFunction.java:75)
at com.collaxa.cube.xml.xpath.BPELXPathFunctionWrapper.evaluate(BPELXPathFunctionWrapper.java:80)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:213)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:182)
at oracle.xml.xpath.XPathExtFunction.evaluate(XPathExtFunction.java:335)
at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:226)
at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:252)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromExpression(BPEL2FromToOperationPerformer.java:524)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalExpression(BPEL2FromToOperationPerformer.java:277)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.doEvalFromValue(BPEL2FromToOperationPerformer.java:423)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromValue(BPEL2FromToOperationPerformer.java:217)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.performAssign(BPEL2FromToOperationPerformer.java:84)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2AssignOperationPerformer.perform(BPEL2AssignOperationPerformer.java:140)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.BPEL2AssignWMP.__executeStatements(BPEL2AssignWMP.java:75)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:197)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:195)
at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper$1.call(SWSComponentProcessActivityWrapper.java:74)
at com.collaxa.bpel.sws.SWSCallableActivityWrapper.execute(SWSCallableActivityWrapper.java:89)
at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper.execute(SWSComponentProcessActivityWrapper.java:82)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:205)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2922)
at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1289)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1178)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:92)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:300)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:379)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4948)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4872)
at com.collaxa.cube.engine.CubeEngine._callbackPerformer(CubeEngine.java:1499)
at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:1423)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.callbackPerformer(CubeEngineBean.java:403)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.callbackPerformer(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.instance.CallbackPerformerMessageHandler.handle(CallbackPerformerMessageHandler.java:58)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:154)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:150)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:239)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.