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

Postbuildscript: NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: postbuildscript-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.150.3 PostBuildScript-plugin 2.8.1
    • Similar Issues:

      Description

      When there is a Jenkins connection issue, the postbuildscript step will fail with the following exception:

      21:30:42 ERROR: Build step failed with exception

      21:30:42 java.lang.NullPointerException

      21:30:42 at org.jenkinsci.plugins.postbuildscript.processor.Processor.<init>(Processor.java:51)

      21:30:42 at org.jenkinsci.plugins.postbuildscript.processor.ProcessorFactory.createDefaultProcessor(ProcessorFactory.java:24)

      21:30:42 at org.jenkinsci.plugins.postbuildscript.processor.ProcessorFactory.createMatrixProcessor(ProcessorFactory.java:35)

      21:30:42 at org.jenkinsci.plugins.postbuildscript.PostBuildScript.createProcessor(PostBuildScript.java:213)

      21:30:42 at org.jenkinsci.plugins.postbuildscript.PostBuildScript.perform(PostBuildScript.java:128)

      21:30:42 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)

      21:30:42 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)

      21:30:42 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)

      21:30:42 at hudson.model.Build$BuildExecution.post2(Build.java:186)

      21:30:42 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)

      21:30:42 at hudson.model.Run.execute(Run.java:1835)

      21:30:42 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

      21:30:42 at hudson.model.ResourceController.execute(ResourceController.java:97)

      21:30:42 at hudson.model.Executor.run(Executor.java:429)

      21:30:42 Build step 'Execute Scripts' marked build as failure

        Attachments

          Activity

          Hide
          dheid Daniel Heid added a comment -

          Hi Alfred! Thanks for the ticket. I will investigate the problem...

          Show
          dheid Daniel Heid added a comment - Hi Alfred! Thanks for the ticket. I will investigate the problem...
          Hide
          dheid Daniel Heid added a comment -

          It's difficult for me to reproduce the problem. Do you have a config.xml for me?

          Show
          dheid Daniel Heid added a comment - It's difficult for me to reproduce the problem. Do you have a config.xml for me?
          Hide
          awong29 Alfred Wong added a comment -

          I have attached the config.xml and you will need to replace with your own credentials.

          Show
          awong29 Alfred Wong added a comment - I have attached the config.xml and you will need to replace with your own credentials.

            People

            • Assignee:
              dheid Daniel Heid
              Reporter:
              awong29 Alfred Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: