Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21146

Several soap tests are failing with java.lang.NoClassDefFoundError: org/jvnet/staxex/util/XMLStreamReaderToXMLStreamWriter$Breakpoint

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.8.0
    • 4.8.0
    • camel-soap
    • None
    • Unknown

    Description

      they failed on all platforms 8 times in a row:

       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 'ppc64le' / Test / org.apache.camel.dataformat.soap.SoapToSoapDontIgnoreTest.testSoapMarshal	0.1 sec	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_21_latest', PLATFORM = 'ubuntu-avx' / Test / org.apache.camel.dataformat.soap.SoapToSoapDontIgnoreTest.testSoapMarshal	76 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 's390x' / Test / org.apache.camel.dataformat.soap.SoapToSoapDontIgnoreTest.testSoapMarshal	36 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 'ubuntu-avx' / Test / org.apache.camel.dataformat.soap.SoapToSoapDontIgnoreTest.testSoapMarshal	0.1 sec	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 'ubuntu-avx' / Test / org.apache.camel.dataformat.soap.SoapToSoapIgnoreTest.testSoapMarshal	35 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 'ppc64le' / Test / org.apache.camel.dataformat.soap.SoapToSoapIgnoreTest.testSoapMarshal	40 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 's390x' / Test / org.apache.camel.dataformat.soap.SoapToSoapIgnoreTest.testSoapMarshal	12 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_21_latest', PLATFORM = 'ubuntu-avx' / Test / org.apache.camel.dataformat.soap.SoapToSoapIgnoreTest.testSoapMarshal	27 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_21_latest', PLATFORM = 'ubuntu-avx' / Test / org.apache.camel.dataformat.soap.SoapToSoapSingleDataFormatterTest.testSoapMarshal	25 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 'ppc64le' / Test / org.apache.camel.dataformat.soap.SoapToSoapSingleDataFormatterTest.testSoapMarshal	44 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 's390x' / Test / org.apache.camel.dataformat.soap.SoapToSoapSingleDataFormatterTest.testSoapMarshal	10 ms	8
       BuildAndTest / Matrix - JDK_NAME = 'jdk_17_latest', PLATFORM = 'ubuntu-avx' / Test / org.apache.camel.dataformat.soap.SoapToSoapSingleDataFormatterTest.testSoapMarshal	27 ms	8
      
      java.lang.NoClassDefFoundError: org/jvnet/staxex/util/XMLStreamReaderToXMLStreamWriter$Breakpoint
      	at com.sun.xml.messaging.saaj.soap.impl.ElementFactory.createNamedElement(ElementFactory.java:165)
      	at com.sun.xml.messaging.saaj.soap.impl.ElementFactory.createElement(ElementFactory.java:143)
      	at com.sun.xml.messaging.saaj.soap.SOAPDocumentImpl.createElementNS(SOAPDocumentImpl.java:263)
      	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.createElementNS(SOAPPartImpl.java:506)
      	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:159)
      	at java.xml/com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:206)
      	at java.xml/com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:526)
      	at java.xml/org.xml.sax.helpers.XMLFilterImpl.characters(XMLFilterImpl.java:576)
      	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:555)
      	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:485)
      	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
      	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
      	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
      	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
      	at java.xml/org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:345)
      	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:693)
      	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:780)
      	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:395)
      	at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:415)
      	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.parseEnvelopeSax(EnvelopeFactory.java:182)
      	at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:95)
      	at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:51)
      	at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:142)
      	at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPHeader(MessageImpl.java:1442)
      	at org.apache.camel.dataformat.soap.SoapToSoapIgnoreTest.testSoapMarshal(SoapToSoapIgnoreTest.java:84)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      Caused by: java.lang.ClassNotFoundException: org.jvnet.staxex.util.XMLStreamReaderToXMLStreamWriter$Breakpoint
      	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
      	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
      	... 29 more
      

      Attachments

        Issue Links

          Activity

            People

              apupier Aurélien Pupier
              apupier Aurélien Pupier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: