Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4235

Test failures after wildfly is upgraded to 26.0.0.Beta1-SNAPSHOT

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • jbossws-cxf-5.6.0.Final
    • jbossws-cxf-5.4.4.Final
    • jbossws-cxf
    • None

      There are 3 new test failures after run with -P wildfly2600.

      in cxf-tests modules : 

      [INFO] Running org.jboss.test.ws.jaxws.cxf.jbws3628.JBWS3628TestCase
      4637Error:  Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.822 s <<< FAILURE! - in org.jboss.test.ws.jaxws.cxf.jbws3628.JBWS3628TestCase
      4638Error:  testWSDL(org.jboss.test.ws.jaxws.cxf.jbws3628.JBWS3628TestCase)  Time elapsed: 0.667 s  <<< FAILURE!
      4639java.lang.AssertionError: WSDL does not contain policy reference to 'WS-Addressing_policy'
      4640	at org.jboss.test.ws.jaxws.cxf.jbws3628.JBWS3628TestCase.checkPolicyReference(JBWS3628TestCase.java:86)
      4641	at org.jboss.test.ws.jaxws.cxf.jbws3628.JBWS3628TestCase.testWSDL(JBWS3628TestCase.java:72)
      

       

      In shared-tests modules 

      [INFO] Running org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase
      5160Error:  Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.191 s <<< FAILURE! - in org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase
      5161Error:  testProviderDispatch(org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase)  Time elapsed: 0.019 s  <<< ERROR!
      5162javax.xml.ws.http.HTTPException
      5163	at org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase.testProviderDispatch(ProviderJAXBTestCase.java:93)
      5164Caused by: org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"http://cxf.apache.org/bindings/xformat", local:"XMLFault"). Expected elements are <{}string>,<{}qname> 
      5165	at org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase.testProviderDispatch(ProviderJAXBTestCase.java:93)
      5166Caused by: javax.xml.bind.UnmarshalException
      5167	at org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase.testProviderDispatch(ProviderJAXBTestCase.java:93)
      5168Caused by: com.sun.istack.SAXParseException2: unexpected element (uri:"http://cxf.apache.org/bindings/xformat", local:"XMLFault"). Expected elements are <{}string>,<{}qname>
      5169	at org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase.testProviderDispatch(ProviderJAXBTestCase.java:93)
      5170Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://cxf.apache.org/bindings/xformat", local:"XMLFault"). Expected elements are <{}string>,<{}qname>
      5171	at org.jboss.test.ws.jaxws.samples.provider.ProviderJAXBTestCase.testProviderDispatch(ProviderJAXBTestCase.java:93)
      

       

      [INFO] Running org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase
      5134Error:  Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.203 s <<< FAILURE! - in org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase
      5135Error:  testProviderDispatch(org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase)  Time elapsed: 0.029 s  <<< ERROR!
      5136javax.xml.ws.http.HTTPException
      5137	at org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch(HttpJAXBTestCase.java:93)
      5138Caused by: org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"http://cxf.apache.org/bindings/xformat", local:"XMLFault"). Expected elements are <{}string>,<{}qname> 
      5139	at org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch(HttpJAXBTestCase.java:93)
      5140Caused by: javax.xml.bind.UnmarshalException
      5141	at org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch(HttpJAXBTestCase.java:93)
      5142Caused by: com.sun.istack.SAXParseException2: unexpected element (uri:"http://cxf.apache.org/bindings/xformat", local:"XMLFault"). Expected elements are <{}string>,<{}qname>
      5143	at org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch(HttpJAXBTestCase.java:93)
      5144Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"http://cxf.apache.org/bindings/xformat", local:"XMLFault"). Expected elements are <{}string>,<{}qname>
      5145	at org.jboss.test.ws.jaxws.samples.httpbinding.HttpJAXBTestCase.testProviderDispatch(HttpJAXBTestCase.java:93)
      

      Server log failures :

      2021-10-22 18:55:07,826 INFO  [org.jboss.test.ws.jaxws.samples.httpbinding.ProviderBeanJAXB] (default task-1) [string=Kermit,qname=TheFrog]
      2021-10-22 18:55:07,846 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (default task-1) Interceptor for {http://org.jboss.ws/httpbinding}ProviderService#{http://org.jboss.ws/httpbinding}echo has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused by: javax.xml.stream.XMLStreamException: null.
      	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:131)
      	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:68)
      	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:56)
      	at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:137)
      	at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
      	at org.apache.cxf.binding.xml.interceptor.XMLMessageOutInterceptor.handleMessage(XMLMessageOutInterceptor.java:75)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:90)
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
      	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
      	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:134)
      	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:88)
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298)
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:523)
      	at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
      	at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
      	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
      	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      	at org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.lambda$handleRequest$1(ElytronRunAsHandler.java:68)
      	at org.wildfly.security.auth.server.FlexibleIdentityAssociation.runAsFunctionEx(FlexibleIdentityAssociation.java:103)
      	at org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161)
      	at org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73)
      	at org.wildfly.elytron.web.undertow.server.ElytronRunAsHandler.handleRequest(ElytronRunAsHandler.java:67)
      	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
      	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)
      	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      	at org.wildfly.elytron.web.undertow.server.servlet.CleanUpHandler.handleRequest(CleanUpHandler.java:38)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)
      	at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)
      	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:280)
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:79)
      	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:134)
      	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:131)
      	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544)
      	at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1544)
      	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:260)
      	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:79)
      	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:100)
      	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)
      	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:852)
      	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1348)
      	at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1280)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: javax.xml.stream.XMLStreamException
      	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:617)
      	at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:127)
      	... 63 more
      Caused by: org.xml.sax.SAXParseException
      	at javax.xml.bind.util.JAXBSource$1.parse(JAXBSource.java:234)
      	at javax.xml.bind.util.JAXBSource$1.parse(JAXBSource.java:218)
      	at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:614)
      	... 64 more
      Caused by: javax.xml.bind.MarshalException
       - with linked exception:
      [org.xml.sax.SAXException: Prefix cannot be null
      javax.xml.stream.XMLStreamException: Prefix cannot be null]
      	at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:301)
      	at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:226)
      	at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:108)
      	at javax.xml.bind.util.JAXBSource$1.parse(JAXBSource.java:230)
      	... 66 more
      Caused by: org.xml.sax.SAXException: Prefix cannot be null
      javax.xml.stream.XMLStreamException: Prefix cannot be null
      	at org.apache.cxf.staxutils.StreamWriterContentHandler.startElement(StreamWriterContentHandler.java:273)
      	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
      	at com.sun.xml.bind.v2.runtime.output.SAXOutput.endStartTag(SAXOutput.java:98)
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.leafElement(XMLSerializer.java:295)
      	at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$StringImplImpl.writeLeafElement(RuntimeBuiltinLeafInfoImpl.java:1040)
      	at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$StringImplImpl.writeLeafElement(RuntimeBuiltinLeafInfoImpl.java:1019)
      	at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.writeLeafElement(TransducedAccessor.java:226)
      	at com.sun.xml.bind.v2.runtime.property.SingleElementLeafProperty.serializeBody(SingleElementLeafProperty.java:100)
      	at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:329)
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsSoleContent(XMLSerializer.java:563)
      	at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:310)
      	at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:464)
      	at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:298)
      	... 69 more
      Caused by: javax.xml.stream.XMLStreamException: Prefix cannot be null
      	at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartElement(XMLStreamWriterImpl.java:1295)
      	at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartElement(XMLStreamWriterImpl.java:1273)
      	at org.apache.cxf.staxutils.StreamWriterContentHandler.startElement(StreamWriterContentHandler.java:214)
      	... 81 more
      

              rsearls r searls
              rhn-engineering-ema Jim Ma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: