Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19554

Testresult from maven tests can't be read

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core, maven-plugin
    • Maven 3.0.4
      Arquillian Container Managed 7.2.0-Final
      JBoss EAP 6.1

      Hello,

      we changed the JBoss Version from JBoss 7.1.1-Final to JBoss EAP 6.1.
      Since this change we get this error:

      Results :
      
      Tests run: 42, Failures: 0, Errors: 0, Skipped: 0
      
      [JENKINS] Recording test results
      Warning: Caught exception attempting to use SAX to load a SAX XMLReader 
      Warning: Exception was: org.xml.sax.SAXException: SAX2 driver class __redirected.__XMLReaderFactory not found
      java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory
      Warning: I will print the stack trace then carry on using the default SAX parser
      org.xml.sax.SAXException: SAX2 driver class __redirected.__XMLReaderFactory not found
      java.lang.ClassNotFoundException: __redirected.__XMLReaderFactory
      	at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:229)
      	at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:190)
      	at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83)
      	at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
      	at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
      	at org.dom4j.io.SAXReader.read(SAXReader.java:435)
      	at org.dom4j.io.SAXReader.read(SAXReader.java:264)
      	at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:130)
      	at hudson.tasks.junit.TestResult.parse(TestResult.java:274)
      	at hudson.tasks.junit.TestResult.parsePossiblyEmpty(TestResult.java:230)
      	at hudson.tasks.junit.TestResult.parse(TestResult.java:199)
      	at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:148)
      	at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:622)
      	at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:604)
      	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
      	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecut
      

      If we run the maven build local, then the build runs successfully.

            Unassigned Unassigned
            schauerj Josef Schauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: