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

NullPointerException in Run Sauce Labs Test Publisher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: sauce-ondemand-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.642.4
      Sauce OnDemand plugin version: 1.153
    • Similar Issues:

      Description

      Jenkins builds are failing with a NullPointerException at the "Run Sauce Labs Publisher" post build step. The stack trace is as follows:

      Finished post-build for Sauce Labs plugin
      Starting Sauce Labs test publisher
      Finished Sauce Labs test publisher
      Starting Sauce Labs test publisher
      Finished Sauce Labs test publisher
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      	at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getSauceREST(SauceOnDemandReportPublisher.java:284)
      	at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.processBuildOutput(SauceOnDemandReportPublisher.java:189)
      	at hudson.plugins.sauce_ondemand.SauceOnDemandReportPublisher.getTestData(SauceOnDemandReportPublisher.java:143)
      	at hudson.plugins.sauce_ondemand.SauceOnDemandTestPublisher.addTestDataPublishersToBuildReport(SauceOnDemandTestPublisher.java:124)
      	at hudson.plugins.sauce_ondemand.SauceOnDemandTestPublisher.addTestDataPublishersToMavenModules(SauceOnDemandTestPublisher.java:96)
      	at hudson.plugins.sauce_ondemand.SauceOnDemandTestPublisher.perform(SauceOnDemandTestPublisher.java:84)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1047)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      	at hudson.model.Run.execute(Run.java:1763)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Build step 'Run Sauce Labs Test Publisher' marked build as failure
      

      This happens irrespective of the sauce test results

        Attachments

          Activity

          Hide
          moizjv moiz virani added a comment -

          Fixed in version 1.154

          Show
          moizjv moiz virani added a comment - Fixed in version 1.154

            People

            • Assignee:
              moizjv moiz virani
              Reporter:
              psrikanta Pratibha Srikanta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: