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

TestNG-Results ends in NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • junit-plugin
    • None
    • Platform: Other, OS: Linux

      Hudson Version= 1.184
      each testNG run ends with:
      FATAL: remote file operation failed
      hudson.util.IOException2: remote file operation failed
      at hudson.FilePath.act(FilePath.java:297)
      at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:51)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:273)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:261)
      at hudson.model.Build$RunnerImpl.post2(Build.java:136)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:246)
      at hudson.model.Run.run(Run.java:677)
      at hudson.model.Build.run(Build.java:101)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:65)
      Caused by: hudson.util.IOException2: Failed to read
      /home/ci-dev/workspace/workspace/haendler-build-HEAD/haendler-war/target/surefire-reports/testng-failed.xml
      at hudson.tasks.junit.TestResult.parse(TestResult.java:134)
      at hudson.tasks.junit.TestResult.parse(TestResult.java:95)
      at hudson.tasks.junit.TestResult.<init>(TestResult.java:72)
      at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:62)
      at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:51)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1084)
      at hudson.remoting.UserRequest.perform(UserRequest.java:69)
      at hudson.remoting.UserRequest.perform(UserRequest.java:23)
      at hudson.remoting.Request$2.run(Request.java:200)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: org.dom4j.DocumentException: null Nested exception: null
      at org.dom4j.io.SAXReader.read(SAXReader.java:484)
      at org.dom4j.io.SAXReader.read(SAXReader.java:264)
      at hudson.tasks.junit.SuiteResult.<init>(SuiteResult.java:50)
      at hudson.tasks.junit.TestResult.parse(TestResult.java:124)
      ... 14 more
      Caused by: java.lang.NullPointerException
      at hudson.tasks.junit.XMLEntityResolver.resolveEntity(XMLEntityResolver.java:40)
      at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source)
      at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
      at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
      Source)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
      Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.dom4j.io.SAXReader.read(SAXReader.java:465)
      ... 17 more

            Unassigned Unassigned
            tspengler tspengler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: