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

NPE in CircularStabilityHistory.<clinit>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • test-stability-plugin
    • None
    • jenkins: 2.51 (ran directly)
      test-stabillity-plugin 2.2
      master: debian 8 64 bits / oracle jdk 1.8.0_66
      slaves: debian 8 64 bits in a docker container on various ubuntu 14.04/64bits machines (with oracle jdk 1.8.0_111)

      Whenever a job has failing tests, those failing tests are not shown in jenkins and the following error happens.

      ERROR: Step ‘Publier le rapport des résultats des tests JUnit’ aborted due to exception: 
      java.lang.NullPointerException
      	at java.lang.Class.isAssignableFrom(Native Method)
      	at de.esailors.jenkins.teststability.CircularStabilityHistory$ConverterImpl.canConvert(CircularStabilityHistory.java:98)
      	at com.thoughtworks.xstream.core.DefaultConverterLookup.registerConverter(DefaultConverterLookup.java:74)
      	at com.thoughtworks.xstream.XStream$2.registerConverter(XStream.java:502)
      	at com.thoughtworks.xstream.XStream.registerConverter(XStream.java:1422)
      	at com.thoughtworks.xstream.XStream.registerConverter(XStream.java:1417)
      	at de.esailors.jenkins.teststability.CircularStabilityHistory.<clinit>(CircularStabilityHistory.java:92)
      Caused: java.lang.ExceptionInInitializerError
      	at de.esailors.jenkins.teststability.StabilityTestDataPublisher.contributeTestData(StabilityTestDataPublisher.java:98)
      	at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:183)
      	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      	at hudson.model.Run.execute(Run.java:1758)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:405)
      

            scoheb Scott Hebert
            alexv Alex V
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: