Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: component-soap
    • Labels:
      None

      Description

      [WARNING]
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building SwitchYard Quickstart: soap-mtom 2.1.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — exec-maven-plugin:1.5.0:java (default-cli) @ switchyard-soap-mtom —
      13:58:09,028 WARN [org.apache.cxf.phase.PhaseInterceptorChain] Interceptor for

      {urn:switchyard-quickstart:soap-mtom:1.0}

      ImageServiceService#

      {urn:switchyard-quickstart:soap-mtom:1.0}

      resizeImage has thrown exception, unwinding now
      org.apache.cxf.interceptor.Fault: Marshalling Error: null
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:267)
      at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:229)
      at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:122)
      at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)
      at com.sun.proxy.$Proxy35.resizeImage(Unknown Source)
      at org.switchyard.quickstarts.soap.mtom.SoapMtomClient.sendMessage(SoapMtomClient.java:60)
      at org.switchyard.quickstarts.soap.mtom.SoapMtomClient.main(SoapMtomClient.java:41)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NullPointerException
      at java.net.URLEncoder.encode(URLEncoder.java:205)
      at org.apache.cxf.attachment.AttachmentUtil.createContentID(AttachmentUtil.java:207)
      at org.apache.cxf.attachment.AttachmentUtil.createMtomAttachment(AttachmentUtil.java:373)
      at org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(JAXBAttachmentMarshaller.java:56)
      at com.sun.xml.bind.v2.runtime.output.MTOMXmlOutput.text(MTOMXmlOutput.java:125)
      at com.sun.xml.bind.v2.runtime.XMLSerializer.text(XMLSerializer.java:421)
      at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$PcdataImpl.writeText(RuntimeBuiltinLeafInfoImpl.java:187)
      at com.sun.xml.bind.v2.runtime.LeafBeanInfoImpl.serializeBody(LeafBeanInfoImpl.java:130)
      at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:155)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:130)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:332)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:339)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:75)
      at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
      at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
      at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
      at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95)
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:616)
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:240)
      ... 19 more
      [WARNING]
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.xml.ws.soap.SOAPFaultException: Marshalling Error: null
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:158)
      at com.sun.proxy.$Proxy35.resizeImage(Unknown Source)
      at org.switchyard.quickstarts.soap.mtom.SoapMtomClient.sendMessage(SoapMtomClient.java:60)
      at org.switchyard.quickstarts.soap.mtom.SoapMtomClient.main(SoapMtomClient.java:41)
      ... 6 more
      Caused by: java.lang.NullPointerException
      at java.net.URLEncoder.encode(URLEncoder.java:205)
      at org.apache.cxf.attachment.AttachmentUtil.createContentID(AttachmentUtil.java:207)
      at org.apache.cxf.attachment.AttachmentUtil.createMtomAttachment(AttachmentUtil.java:373)
      at org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(JAXBAttachmentMarshaller.java:56)
      at com.sun.xml.bind.v2.runtime.output.MTOMXmlOutput.text(MTOMXmlOutput.java:125)
      at com.sun.xml.bind.v2.runtime.XMLSerializer.text(XMLSerializer.java:421)
      at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$PcdataImpl.writeText(RuntimeBuiltinLeafInfoImpl.java:187)
      at com.sun.xml.bind.v2.runtime.LeafBeanInfoImpl.serializeBody(LeafBeanInfoImpl.java:130)
      at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:696)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:155)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:130)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:332)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:339)
      at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:75)
      at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:494)
      at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
      at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
      at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95)
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:616)
      at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:240)
      at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:229)
      at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:122)
      at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)
      ... 9 more
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tcunning Thomas Cunningham
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated: