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

Test Result aggregator - NPE with default configuration

XMLWordPrintable

      With default configuration we have:

      [Pipeline] testResultsAggregator
       Starting Aggregate Test Results Action
       Fallback Jenkins url : https://jenkins-.....
       Error Occurred : java.lang.NullPointerException: Cannot invoke "hudson.util.Secret.getPlainText()" because "password" is null java.lang.NullPointerException: Cannot invoke "hudson.util.Secret.getPlainText()" because "password" is null
       	at PluginClassLoader for test-results-aggregator//com.jenkins.testresultsaggregator.actions.Collector.<init>(Collector.java:49)
       	at PluginClassLoader for test-results-aggregator//com.jenkins.testresultsaggregator.TestResultsAggregator.perform(TestResultsAggregator.java:185)
       	at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101)
       	at PluginClassLoader for workflow-basic-steps//org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71)
       	at PluginClassLoader for workflow-step-api//org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
       	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
       	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
       	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       	at java.base/java.lang.Thread.run(Unknown Source)
       Finished Aggregate Test Results Action
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] }
      [Pipeline] // timestamps
      [Pipeline] }
      [Pipeline] // node
      [Pipeline] End of Pipeline
      Finished: SUCCESS
      

      Even more status for stage is SUCESS, but test reports are not generated.

      When I go to Manage Jenkins -> System and simply save without changes empty config files are created and now it is working ok.

            socrates Socrates Sidereas
            slawekjaranowski Slawomir Jaranowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: