1 Reply Latest reply on Apr 8, 2009 9:24 AM by Sean O'Callaghan

    NullPointerException in CxfBcProvider.findOperation

    javier posado Newbie

      hi all,

       

      I have problems in CXF-Provider when my interface have more than one operation. I'm using fuse 4.0.0.4 and trying  CXF-consumer -> jms provider-> jms-consumer-> cxf-provider.

       

       

      15:08:37,656 | DEBUG | -cxf-bc-thread-2 | CxfBcComponent                   | icemix.common.AsyncBaseLifeCycle  555 | Received exchange: status: Active, role: provider

      15:08:37,656 | DEBUG | -cxf-bc-thread-2 | CxfBcComponent                   | icemix.common.AsyncBaseLifeCycle  617 | Retrieved correlation id: 319f2288-b321-40fd-addb-e994a00dea1f

      15:08:37,702 | ERROR | -cxf-bc-thread-2 | CxfBcComponent                   | icemix.common.AsyncBaseLifeCycle  479 | Error processing exchange org.apache.servicemix.jbi.runtime.impl.InOnlyImpl@1c436b

      javax.xml.transform.TransformerException: java.lang.NullPointerException

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

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

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toResult(SourceTransformer.java:125)

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toResult(SourceTransformer.java:103)

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNodeFromSAX(SourceTransformer.java:299)

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromSAX(SourceTransformer.java:294)

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSource(SourceTransformer.java:173)

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNode(SourceTransformer.java:311)

           at org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMElement(SourceTransformer.java:361)

           at org.apache.servicemix.cxfbc.CxfBcProvider.findOperation(CxfBcProvider.java:512)

           at org.apache.servicemix.cxfbc.CxfBcProvider.process(CxfBcProvider.java:191)

           at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:621)

           at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:575)

           at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:477)

           at org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:347)

           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

           at java.lang.Thread.run(Thread.java:619)

      Caused by: java.lang.NullPointerException

           at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:240)

           at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:240)

           at com.sun.org.apache.xml.internal.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:313)

           at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.startElement(ToXMLSAXHandler.java:682)

           at org.apache.servicemix.soap.util.stax.StaxSource.parse(StaxSource.java:115)

           at org.apache.servicemix.soap.util.stax.StaxSource.parse(StaxSource.java:230)

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

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

           ... 17 more

      15:08:37,706 | DEBUG | -cxf-bc-thread-2 | NMR    

       

       

       

      With fuse 3.3.1.13 this example works fine. So, my question is if SM-1758 is really working in fuse 4.0.0.4 or I'm doing something wrong that I can't see.

       

       

      javier