Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8109

Problem while using WSS4JOutInterceptor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.1
    • jboss-fuse-6.3
    • CXF
    • None
    • % %
    • Hide

      1. Start fresh version of jboss-fuse-karaf-6.3.0.redhat-343.zip
      2. features:install cxf-ws-security
      3. Build and deploy attached project using command : osgi:install -s mvn:com.mycompany/sample-entesb8109/1.0.0-SNAPSHOT

      Exception can be observed in logs.

      Show
      1. Start fresh version of jboss-fuse-karaf-6.3.0.redhat-343.zip 2. features:install cxf-ws-security 3. Build and deploy attached project using command : osgi:install -s mvn:com.mycompany/sample-entesb8109/1.0.0-SNAPSHOT Exception can be observed in logs.
    • Fuse 7.1 Sprint 29

      Since the upgrade to Fuse Rollup 2(630254), it is giving exception while using WSS4JOutInterceptor :

      java.lang.NullPointerException
      	at com.sun.org.apache.xerces.internal.dom.ParentNode.internalRemoveChild(ParentNode.java:542)[:1.8.0_161]
      	at com.sun.org.apache.xerces.internal.dom.ParentNode.removeChild(ParentNode.java:484)[:1.8.0_161]
      	at org.apache.cxf.binding.soap.saaj.SAAJStreamWriter.createAndAddElement(SAAJStreamWriter.java:137)[78:org.apache.cxf.cxf-rt-bindings-soap:3.1.5.redhat-630343]
      	at org.apache.cxf.staxutils.W3CDOMStreamWriter.writeStartElement(W3CDOMStreamWriter.java:143)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.staxutils.OverlayW3CDOMStreamWriter.writeStartElement(OverlayW3CDOMStreamWriter.java:210)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.staxutils.StaxUtils.writeStartElement(StaxUtils.java:811)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:738)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:702)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:626)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:111)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:65)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.camel.component.cxf.HybridSourceDataBinding$1.write(HybridSourceDataBinding.java:80)[240:org.apache.camel.camel-cxf:2.17.0.redhat-630343]
      	at org.apache.camel.component.cxf.HybridSourceDataBinding$1.write(HybridSourceDataBinding.java:74)[240:org.apache.camel.camel-cxf:2.17.0.redhat-630343]
      	at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:137)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)[75:org.apache.cxf.cxf-rt-wsdl:3.1.5.redhat-630343]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:416)[72:org.apache.cxf.cxf-core:3.1.5.redhat-630343]
      	at org.apache.camel.component.cxf.CxfProducer.process(CxfProducer.java:120)[240:org.apache.camel.camel-cxf:2.17.0.redhat-630343]
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:468)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:196)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:192)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:76)[231:org.apache.camel.camel-core:2.17.0.redhat-630343]
      	at java.util.TimerThread.mainLoop(Timer.java:555)[:1.8.0_161]
      	at java.util.TimerThread.run(Timer.java:505)[:1.8.0_161]
      
      

      This occurs possibly after the changes in commit : https://github.com/apache/cxf/commit/2538ae42fb0c774023deed5264291b2fe6658cb8

              yfang@redhat.com Freeman(Yue) Fang
              saravanakumar.java@gmail.com Saravanakumar Selvaraj (Inactive)
              Viliam Kasala Viliam Kasala
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: