You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/24 21:07:45 UTC

[GitHub] [camel-quarkus] ppalaga opened a new issue, #4208: CxfSoapMtomIT fails in native mode

ppalaga opened a new issue, #4208:
URL: https://github.com/apache/camel-quarkus/issues/4208

   ```
   [INFO] Running org.apache.camel.quarkus.component.cxf.soap.mtom.it.CxfSoapMtomIT
   ======================================================================================
     native.image.path was not set, making a guess for the correct path of native image
     guessed path: /home/ppalaga/orgs/cq/camel-quarkus/integration-test-groups/cxf-soap/cxf-soap-mtom/target/camel-quarkus-integration-test-cxf-soap-mtom-2.14.0-SNAPSHOT-runner
   ======================================================================================
   Executing "/home/ppalaga/orgs/cq/camel-quarkus/integration-test-groups/cxf-soap/cxf-soap-mtom/target/camel-quarkus-integration-test-cxf-soap-mtom-2.14.0-SNAPSHOT-runner -Dquarkus.http.port=43737 -Dquarkus.http.ssl-port=43381 -Dtest.url=http://localhost:43737 -Dquarkus.log.file.path=/home/ppalaga/orgs/cq/camel-quarkus/integration-test-groups/cxf-soap/cxf-soap-mtom/target/quarkus.log -Dquarkus.log.file.enable=true"
   2022-10-24 23:03:04,285 INFO  [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
   2022-10-24 23:03:04,286 INFO  [org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 3.19.0 is starting
   2022-10-24 23:03:04,293 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.19.0 (camel-1) is starting
   2022-10-24 23:03:04,298 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,299 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,300 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,301 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,307 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,308 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,309 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,310 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   === setupServerFactoryBean
   2022-10-24 23:03:04,313 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,313 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,314 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,315 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,316 INFO  [org.apa.cxf.end.ServerImpl] (main) Setting the server's publish address to be /mtom-enabled-image-service
   === setupServerFactoryBean
   2022-10-24 23:03:04,318 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,319 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}downloadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,319 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,320 WARN  [org.apa.cxf.jax.WrapperClassGenerator] (main) {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage requires a wrapper bean but problems with ASM has prevented creating one. Operation may not work correctly.
   2022-10-24 23:03:04,321 INFO  [org.apa.cxf.end.ServerImpl] (main) Setting the server's publish address to be /mtom-disabled-image-service
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup (started:5)
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started route1 (direct://mtomEnabledInvoker)
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started route2 (direct://mtomDisabledInvoker)
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started route3 (cxf://bean:soapMtomEnabledServerEndpoint)
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started route4 (cxf://bean:soapMtomDisabledServerEndpoint)
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main)     Started route5 (direct://processImage)
   2022-10-24 23:03:04,321 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.19.0 (camel-1) started in 29ms (build:0ms init:1ms start:28ms)
   2022-10-24 23:03:04,326 INFO  [io.quarkus] (main) camel-quarkus-integration-test-cxf-soap-mtom 2.14.0-SNAPSHOT native (powered by Quarkus 2.13.3.Final) started in 0.073s. Listening on: http://0.0.0.0:43737
   2022-10-24 23:03:04,326 INFO  [io.quarkus] (main) Profile prod activated. 
   2022-10-24 23:03:04,326 INFO  [io.quarkus] (main) Installed features: [awt, camel-bean, camel-core, camel-cxf-soap, camel-direct, cdi, cxf, cxf-rt-features-logging, resteasy, smallrye-context-propagation, vertx]
   2022-10-24 23:03:05,507 INFO  [org.apa.cxf.ser.IIm.REQ_OUT] (executor-thread-0) REQ_OUT
       Address: http://localhost:43737/soapservice/mtom-enabled-image-service
       HttpMethod: POST
       Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d"; start="<ro...@cxf.apache.org>"; start-info="text/xml"
       ExchangeId: 2671a777-5f97-4b12-a269-792713781644
       ServiceName: IImageServiceService
       PortName: IImageServicePort
       PortTypeName: IImageService
       Headers: {SOAPAction="", Accept=*/*}
       Payload: 
   --uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d
   Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
   Content-Transfer-Encoding: binary
   Content-ID: <ro...@cxf.apache.org>
   
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:uploadImage xmlns:ns1="http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/"><arg0><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:ed35ffaa-c58e-434f-aaad-8fe02612c153-1@cxf.apache.org"/></arg0><arg1>linux-image-name</arg1></ns1:uploadImage></soap:Body></soap:Envelope>
   --uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d
   --- Content suppressed ---
   ----uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d
   
   2022-10-24 23:03:05,510 INFO  [org.apa.cxf.ser.IIm.REQ_IN] (executor-thread-1) REQ_IN
       Address: http://localhost:43737/soapservice/mtom-enabled-image-service
       HttpMethod: POST
       Content-Type: multipart/related; type="application/xop+xml"; boundary="uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d"; start="<ro...@cxf.apache.org>"; start-info="text/xml"
       ExchangeId: e87f7d30-87c2-4de2-a1d1-3cc9d1191af7
       ServiceName: IImageServiceService
       PortName: IImageServicePort
       PortTypeName: IImageService
       Headers: {SOAPAction="", transfer-encoding=chunked, Accept=*/*, Cache-Control=no-cache, User-Agent=Apache-CXF/3.5.3, connection=keep-alive, content-type=multipart/related; type="application/xop+xml"; boundary="uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d"; start="<ro...@cxf.apache.org>"; start-info="text/xml", Host=localhost:43737, Pragma=no-cache}
       Payload: 
   --uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d
   Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
   Content-Transfer-Encoding: binary
   Content-ID: <ro...@cxf.apache.org>
   
   <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns1:uploadImage xmlns:ns1="http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/"><arg0><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:ed35ffaa-c58e-434f-aaad-8fe02612c153-1@cxf.apache.org"/></arg0><arg1>linux-image-name</arg1></ns1:uploadImage></soap:Body></soap:Envelope>
   --uuid:2ba3dbc5-8ecf-4944-89org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) 
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder3e-c2a88e00a76d
   --- Content suppressed ---
   ----uuid:2ba3dbc5-8ecf-4944-893e-c2a88e00a76d
   
   2022-10-24 23:03:05,511 ERROR [org.apa.cxf.pha.PhaseInterceptorChain] (executor-thread-1) ==== Ec: org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) 
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:931)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:737)
           at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:168)
           at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:323)
           at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127)
           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
           at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
           at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
           at io.quarkiverse.cxf.transport.CxfHandler.process(CxfHandler.java:271)
           at io.quarkiverse.cxf.transport.CxfHandler.handle(CxfHandler.java:208)
           at io.quarkiverse.cxf.transport.CxfHandler.handle(CxfHandler.java:45)
           at io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)
           at io.vertx.core.impl.ContextBase.lambda$null$0(ContextBase.java:137)
           at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264)
           at io.vertx.core.impl.ContextBase.lambda$executeBlocking$1(ContextBase.java:135)
           at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:564)
           at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
           at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
           at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
           at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
           at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
           at java.lang.Thread.run(Thread.java:833)
           at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:705)
           at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
   Caused by: javax.xml.bind.UnmarshalException
    - with linked exception:
   [com.sun.istack.SAXParseException2; lineNumber: 0; columnNumber: 0; unexpected element (uri:"", local:"arg0"). Expected elements are (none)]
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:453)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:387)
           at com.sun.xml.bind.v2.runt.java:931)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:737)
           at orime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:356)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:881)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$200(JAXBEncoderDecoder.java:103)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder$3.run(JAXBEncoderDecoder.java:919)
           at java.security.AccessController.executePrivileged(AccessController.java:145)
           at java.security.AccessController.doPrivileged(AccessController.java:569)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:917)
           ... 26 more
   Caused by: com.sun.istack.SAXParseException2; lineNumber: 0; columnNumber: 0; unexpected element (uri:"", local:"arg0"). Expected elements are (none)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:713)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:232)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:227)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:94)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1118)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:543)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:525)
           at com.sun.xml.bind.v2.runtime.unmarshaller.MTOMDecorator.startEg.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:168)
           at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:323)
           at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127)
           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
           at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
           at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
           at io.quarkiverse.cxf.transport.CxfHandler.process(CxfHandler.java:271)
           at io.quarkiverse.cxf.transport.CxfHandler.handle(CxfHandler.java:208)
           at io.quarkiverse.cxf.transport.CxfHandler.handle(CxfHandler.java:45)
           at io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)
           at io.vertx.core.impl.ContextBase.lambda$null$0(ContextBase.java:137)
           at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264)
           at io.vertx.core.impl.ContextBase.lambda$executeBlocking$1(ContextBase.java:135)
           at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:564)
           at org.jboss.threalement(MTOMDecorator.java:81)
           at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:45)
           at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:216)
           at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:150)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:385)
           ... 33 more
   Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"arg0"). Expected elements are (none)
           ... 45 more
   
   2022-10-24 23:03:05,511 WARN  [org.apa.cxf.pha.PhaseInterceptorChain] (executor-thread-1) Interceptor for {http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}IImageServiceService#{http://it.mtom.soap.cxf.component.quarkus.camel.apache.org/}uploadImage has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) 
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:931)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:737)
           at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:168)
           at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:323)
           at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:127)
           at org.apache.cxf.phase.Pds.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
           at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
           at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
           at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
           at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
           at java.lang.Thread.run(Thread.java:833)
           at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:705)
           at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
   Caused by: javax.xml.bind.UnmarshalException
    - with linked exception:
   [com.sun.istack.SAXParseException2; lineNumber: 0; columnNumber: 0; unexpected element (uri:"", local:"arg0"). Expected elements are (none)]
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:453)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:387)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:356)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:881)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$200(JAXBEncoderDecoder.java:103)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder$3.run(JAXBEncoderDecoder.java:919)
           at java.security.AccessController.executePrivileged(AccessController.java:haseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
           at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
           at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
           at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
           at io.quarkiverse.cxf.transport.CxfHandler.process(CxfHandler.java:271)
           at io.quarkiverse.cxf.transport.CxfHandler.handle(CxfHandler.java:208)
           at io.quarkiverse.cxf.transport.CxfHandler.handle(CxfHandler.java:45)
           at io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)
           at io.vertx.core.impl.ContextBase.lambda$null$0(ContextBase.java:137)
           at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:264)
           at io.vertx.core.impl.ContextBase.lambda$executeBlocking$1(ContextBase.java:135)
           at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:564)
           at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
           at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
           at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
           at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResett145)
           at java.security.AccessController.doPrivileged(AccessController.java:569)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:917)
           ... 26 more
   Caused by: com.sun.istack.SAXParseException2; lineNumber: 0; columnNumber: 0; unexpected element (uri:"", local:"arg0"). Expected elements are (none)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:713)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:232)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:227)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:94)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1118)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:543)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:525)
           at com.sun.xml.bind.v2.runtime.unmarshaller.MTOMDecorator.startElement(MTOMDecorator.java:81)
           at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:45)
           at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:216)
           at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:150)
           at com.sun.xml.bind.v2.runtime.unmarsingRunnable.java:29)
           at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnablhaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:385)
           ... 33 more
   Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"arg0"). Expected elements are (none)
           ... 45e.java:30)
           at java.lang.Thread.run(Thread.java:833)
           at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:705)
           at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
   Caused by: javax.xml.bind.UnmarshalException
    - with linked exception:
   [com.sun.istack.SAXParseException2; lineNumber: 0; columnNumber: 0; unexpected element (uri:"", local:"arg0"). Expected elements are (none)]
           at com.sun.xml.bind.v2.runtime.un more
   marshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:453)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:387)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:356)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:881)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$200(JAXBEncoderDecoder.java:103)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder$3.run(JAXBEncoderDecoder.java:919)
           at java.security.AccessController.executePrivileged(AccessController.java:145)
           at java.security.AccessController.doPrivileged(AccessController.java:569)
           at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:917)
           ... 26 more
   Caused by: com.sun.istack.SAXParseException2; lineNumber: 0; columnNumber: 0; unexpected element (uri:"", local:"arg0"). Expected elements are (none)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:713)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:232)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:227)
           at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:94)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1118)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:543)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:525)
           at com.sun.xml.bind.v2.runtime.unmarshaller.MTOMDecorator.startElement(MTOMDecorator.java:81)
           at com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:45)
           at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:216)
           at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:150)
           at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:385)
           ... 33 more
   Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"arg0"). Expected elements are (none)
           ... 45 more
   
   2022-10-24 23:03:05,513 INFO  [org.apa.cxf.ser.IIm.FAULT_OUT] (executor-thread-1) FAULT_OUT
       Content-Type: text/xml
       ResponseCode: 500
       ExchangeId: e87f7d30-87c2-4de2-a1d1-3cc9d1191af7
       ServiceName: IImageServiceService
       PortName: IImageServicePort
       PortTypeName: IImageService
       Headers: {}
       Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body>
       <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) </faultstring>
       </soap:Fault>
     </soap:Body>
   </soap:Envelope>
   
   
   2022-10-24 23:03:05,514 INFO  [org.apa.cxf.ser.IIm.FAULT_IN] (default-workqueue-1) FAULT_IN
       Content-Type: text/xml; charset=UTF-8
       ResponseCode: 500
       ExchangeId: 2671a777-5f97-4b12-a269-792713781644
       ServiceName: IImageServiceService
       PortName: IImageServicePort
       PortTypeName: IImageService
       Headers: {transfer-encoding=chunked, content-type=text/xml; charset=UTF-8}
       Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
     <soap:Body>
       <soap:Fault>
         <faultcode>soap:Client</faultcode>
         <faultstring>Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) </faultstring>
       </soap:Fault>
     </soap:Body>
   </soap:Envelope>
   
   
   2022-10-24 23:03:05,514 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (default-workqueue-1) Failed delivery for (MessageId: C4A2500CB752B5B-0000000000000000 on ExchangeId: C4A2500CB752B5B-0000000000000000). Exhausted after delivery attempt: 1 caught: org.apache.cxf.binding.soap.SoapFault: Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) 
   
   Message History (source location and message history is disabled)
   ---------------------------------------------------------------------------------------------------------------------------------------
   Source                                   ID                             Processor                                          Elapsed (ms)
                                            route1/route1                  from[direct://mtomEnabledInvoker]                      49146102
           ...
                                            route1/to1                     cxf:bean:soapMtomEnabledClientEndpoint?dataFormat=            0
   
   Stacktrace
   ---------------------------------------------------------------------------------------------------------------------------------------: org.apache.cxf.binding.soap.SoapFault: Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) 
           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:87)
           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:53)
           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:42)
           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
           at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:137)
           at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:70)
           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:808)
           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1701)
           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1192)
           at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:413)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:346)
           at java.lang.Thread.run(Thread.java:833)
           at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:705)
           at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
   
   2022-10-24 23:03:05,515 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-0) HTTP Request to /cxf-soap/mtom/upload?imageName=linux-image-name&mtomEnabled=true failed, error id: a20b6ee7-946f-4886-b9e1-82b7072599e3-1: org.jboss.resteasy.spi.UnhandledException: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[C4A2500CB752B5B-0000000000000000]
           at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:105)
           at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:359)
           at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
           at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
           at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
           at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
           at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
           at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
           at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:151)
           at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:91)
           at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:564)
           at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
           at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
           at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
           at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
           at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
           at java.lang.Thread.run(Thread.java:833)
           at com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:705)
           at com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine(PosixPlatformThreads.java:202)
   Caused by: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[C4A2500CB752B5B-0000000000000000]
           at org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:660)
           at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:591)
           at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:587)
           at org.apache.camel.impl.engine.DefaultProducerTemplate.requestBodyAndHeader(DefaultProducerTemplate.java:431)
           at org.apache.camel.quarkus.component.cxf.soap.mtom.it.CxfSoapMtomResource.upload(CxfSoapMtomResource.java:53)
           at org.apache.camel.quarkus.component.cxf.soap.mtom.it.CxfSoapMtomResource_ClientProxy.upload(Unknown Source)
           at java.lang.reflect.Method.invoke(Method.java:568)
           at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
           at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
           at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:660)
           at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:524)
           at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:474)
           at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
           at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:476)
           at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:434)
           at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:408)
           at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
           ... 17 more
   Caused by: org.apache.cxf.binding.soap.SoapFault: Unmarshalling Error: unexpected element (uri:"", local:"arg0"). Expected elements are (none) 
           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:87)
           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:53)
           at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:42)
           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:112)
           at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:137)
           at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessage(SOAPHandlerInterceptor.java:70)
           at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
           at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:808)
           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1701)
           at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$1.run(HTTPConduit.java:1192)
           at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:413)
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
           at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:346)
           ... 3 more
   
   ...
   
   [ERROR] Failures: 
   [ERROR]   CxfSoapMtomIT>CxfSoapMtomTest.uploadDownloadMtom:48 1 expectation failed.
   Expected status code <201> but was <500>.
   
   [ERROR]   CxfSoapMtomIT>CxfSoapMtomTest.uploadDownloadMtom:48 1 expectation failed.
   Expected status code <201> but was <500>.
   
   [INFO] 
   [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] ppalaga closed issue #4208: CxfSoapMtomIT fails in native mode

Posted by GitBox <gi...@apache.org>.
ppalaga closed issue #4208: CxfSoapMtomIT fails in native mode
URL: https://github.com/apache/camel-quarkus/issues/4208


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org