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

NullPointer when trying to retrieve Configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • claim-plugin
    • None
    • jenkins 2.90
      claim plugin 2.10

      After a build failure due to failed unit tests following Exception is logged:

      ERROR: Build step failed with exception
      java.lang.NullPointerException
      	at hudson.plugins.claim.AbstractClaimBuildAction.<init>(AbstractClaimBuildAction.java:43)
      	at hudson.plugins.claim.ClaimBuildAction.<init>(ClaimBuildAction.java:14)
      	at hudson.plugins.claim.ClaimPublisher.perform(ClaimPublisher.java:62)
      	at hudson.plugins.claim.ClaimPublisher.perform(ClaimPublisher.java:53)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      	at hudson.model.Build$BuildExecution.post2(Build.java:186)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      	at hudson.model.Run.execute(Run.java:1749)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:421)
      Build step 'Allow broken build claiming' marked build as failure
      

      Looks like ClaimConfig.get() is null.

      Seems like in claim plugin version 2.7 everything was fine (but I'm not sure about this)

            greybird Arnaud TAMAILLON
            npfistner Norbert Pfistner
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: