org.milyn.SmooksException: Failed to filter source.

Stack Overflow | Grzech.W | 3 years 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

    prefix cannot be "null" when creating a QName

    Stack Overflow | 3 years ago | Grzech.W
    org.milyn.SmooksException: Failed to filter source.
  2. 0

    Processing message in MQ with Smooks in WSO2 ESB

    Stack Overflow | 2 years ago | NesToDre
    java.lang.IllegalArgumentException: prefix cannot be "null" when creating a QName

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      prefix cannot be "null" when creating a QName

      at javax.xml.namespace.QName.<init>()
    2. Java RT
      XMLEventReaderImpl.next
      1. javax.xml.namespace.QName.<init>(QName.java:251)
      2. com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getQName(XMLEventAllocatorImpl.java:254)
      3. com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getXMLEvent(XMLEventAllocatorImpl.java:76)
      4. com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.allocate(XMLEventAllocatorImpl.java:53)
      5. com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:84)
      6. com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImpl.java:248)
      6 frames
    3. org.wso2.carbon
      ElementInputStream.read
      1. org.wso2.carbon.mediator.transform.stream.IOElementPipe.populateEvents(IOElementPipe.java:90)
      2. org.wso2.carbon.mediator.transform.stream.IOElementPipe.getData(IOElementPipe.java:68)
      3. org.wso2.carbon.mediator.transform.stream.ElementInputStream.read(ElementInputStream.java:61)
      3 frames
    4. Java RT
      InputStreamReader.read
      1. sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
      2. sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
      3. sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
      4. java.io.InputStreamReader.read(InputStreamReader.java:184)
      4 frames
    5. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
      2. org.apache.xerces.impl.XMLEntityScanner.skipString(Unknown Source)
      3. org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      4. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      7. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      7 frames
    6. Milyn :: Smooks Core
      SmooksSAXFilter.doFilter
      1. org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:70)
      2. org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:75)
      3. org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61)
      3 frames
    7. Milyn
      Smooks.filterSource
      1. org.milyn.Smooks._filter(Smooks.java:516)
      2. org.milyn.Smooks.filterSource(Smooks.java:475)
      2 frames
    8. org.wso2.carbon
      SmooksMediator.mediate
      1. org.wso2.carbon.mediator.transform.SmooksMediator.mediate(SmooksMediator.java:123)
      1 frame
    9. Apache Synapse - Core
      ProxyServiceMessageReceiver.receive
      1. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
      2. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
      3. org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
      4. org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
      4 frames
    10. org.apache.axis2
      AxisEngine.receive
      1. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
      1 frame
    11. Apache Axis2 - Transport - Base
      AbstractTransportListener.handleIncomingMessage
      1. org.apache.axis2.transport.base.AbstractTransportListener.handleIncomingMessage(AbstractTransportListener.java:328)
      1 frame
    12. Apache Synapse - VFS Transport
      VFSTransportListener.poll
      1. org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:597)
      2. org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:328)
      3. org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:158)
      4. org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:107)
      4 frames
    13. Apache Axis2 - Transport - Base
      NativeWorkerPool$1.run
      1. org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
      2. org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      2 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:724)
      3 frames