2 Replies Latest reply on Nov 26, 2009 12:26 PM by Lekan Omotayo

    TransformerException: Source object passed to ''{0}'' has no contents.

    Lekan Omotayo Expert

      I am trying to send a soap request from a JMS queue to service engine (JBI in OSGI) and I encountered the ffg errors:

       

      23:49:22,484 | ERROR | Service-thread-1 | NMRDestination                   | nmr.core.InternalEndpointWrapper   86 | error preparing message

      javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Source object passed to '''' has no contents.         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:756)         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:349)         at org.apache.servicemix.cxf.transport.nmr.NMRMessageHelper.convertMessageToInputStream(NMRMessageHelper.java:51)         at org.apache.servicemix.cxf.transport.nmr.NMRDestination.process(NMRDestination.java:113)         at org.apache.servicemix.nmr.core.InternalEndpointWrapper.process(InternalEndpointWrapper.java:86)         at org.apache.servicemix.nmr.core.ChannelImpl.process(ChannelImpl.java:255)         at org.apache.servicemix.nmr.core.ChannelImpl$1.run(ChannelImpl.java:215)         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)         at java.lang.Thread.run(Thread.java:595) Caused by: javax.xml.transform.TransformerException: Source object passed to '''' has no contents.

              at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:704)

              at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:744)

              ... 9 more

      23:49:22,484 | WARN  | Service-thread-1 | NMR                              | .servicemix.nmr.core.ChannelImpl  293 | Error processing exchange [

        id:        92aaefb2-525d-4297-ab09-b0145b5cc8d0

        mep:       InOnly

        status:    Active

        role:      Provider

        target:    PropertyMatchingReference[{NAME=nauCollegeService}]

        In: [

          content: 

       

      Am I missing something? Do I have to transform the message?