javax.script.ScriptException: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x65 (at char #7197, byte #3999)

wso2.org | 2 weeks ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [#CARBON-14012] Windows Does not Use UTF-8 as Its default Character encoding

    wso2.org | 2 weeks ago
    javax.script.ScriptException: org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x65 (at char #7197, byte #3999)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    WSO2 ESB 8.1 error on large JSON file with Script Mediator

    Stack Overflow | 2 years ago
    java.lang.ClassFormatError: Invalid method Code length 70058 in class file org/mozilla/javascript/gen/c93
  4. 0

    Failed to initialize ESB due to a fatal error

    Stack Overflow | 3 years ago | Mahesh Narayanan
    java.lang.NoClassDefFoundError: com/sun/phobos/script/javascript/RhinoScriptEngineFactory

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.CharConversionException

      Invalid UTF-8 middle byte 0x65 (at char #7197, byte #3999)

      at com.ctc.wstx.io.UTF8Reader.reportInvalidOther()
    2. Woodstox
      BasicStreamReader.next
      1. com.ctc.wstx.io.UTF8Reader.reportInvalidOther(UTF8Reader.java:313)
      2. com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:204)
      3. com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)
      4. com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)
      5. com.ctc.wstx.sr.StreamScanner.loadMoreFromCurrent(StreamScanner.java:1046)
      6. com.ctc.wstx.sr.StreamScanner.parseLocalName2(StreamScanner.java:1796)
      7. com.ctc.wstx.sr.StreamScanner.parseLocalName(StreamScanner.java:1756)
      8. com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2914)
      9. com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2848)
      10. com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
      10 frames
    3. Axiom API
      StAXOMBuilder.next
      1. org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
      2. org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
      3. org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
      3 frames
    4. Axiom Impl
      OMNodeImpl.insertSiblingAfter
      1. org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.java:78)
      2. org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:722)
      3. org.apache.axiom.om.impl.llom.OMElementImpl.detach(OMElementImpl.java:700)
      4. org.apache.axiom.om.impl.llom.OMNodeImpl.setParent(OMNodeImpl.java:105)
      5. org.apache.axiom.om.impl.llom.OMNodeImpl.insertSiblingAfter(OMNodeImpl.java:203)
      5 frames
    5. Apache Synapse - Extensions
      ScriptMessageContext$setPayloadXML.call
      1. org.apache.synapse.mediators.bsf.ScriptMessageContext.setPayloadXML(ScriptMessageContext.java:96)
      2. org.apache.synapse.mediators.bsf.ScriptMessageContext$setPayloadXML.call(Unknown Source)
      2 frames
    6. Unknown
      Script30.run
      1. Script30.run(Script30.groovy:1)
      1 frame
    7. com.sun.script
      GroovyCompiledScript.eval
      1. com.sun.script.groovy.GroovyScriptEngine.eval(GroovyScriptEngine.java:243)
      2. com.sun.script.groovy.GroovyCompiledScript.eval(GroovyCompiledScript.java:46)
      2 frames
    8. Java RT
      CompiledScript.eval
      1. javax.script.CompiledScript.eval(CompiledScript.java:75)
      1 frame
    9. Apache Synapse - Extensions
      ScriptMediator.mediate
      1. org.apache.synapse.mediators.bsf.ScriptMediator.mediateForInlineScript(ScriptMediator.java:256)
      2. org.apache.synapse.mediators.bsf.ScriptMediator.invokeScript(ScriptMediator.java:205)
      3. org.apache.synapse.mediators.bsf.ScriptMediator.mediate(ScriptMediator.java:178)
      3 frames
    10. Apache Synapse - Core
      SynapseMessageReceiver.receive
      1. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
      2. org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
      3. org.apache.synapse.rest.Resource.process(Resource.java:319)
      4. org.apache.synapse.rest.API.process(API.java:246)
      5. org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
      6. org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
      7. org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
      8. org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
      8 frames
    11. org.apache.axis2
      AxisEngine.receive
      1. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
      1 frame
    12. Apache Axis2 - Transport - HTTP
      RESTUtil.processXMLRequest
      1. org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
      2. org.apache.axis2.transport.http.util.RESTUtil.processXMLRequest(RESTUtil.java:89)
      2 frames
    13. Apache Synapse - Non-blocking HTTP/s Transport
      ServerWorker.run
      1. org.apache.synapse.transport.nhttp.util.RESTUtil.processPOSTRequest(RESTUtil.java:188)
      2. org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:404)
      3. org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:261)
      3 frames
    14. Apache Axis2 - Transport - Base
      NativeWorkerPool$1.run
      1. org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
      1 frame
    15. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames