• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • postbuildscript-plugin
    • None
    • Jenkins 2.150.3 PostBuildScript-plugin 2.8.1

      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

        1. config.xml
          3 kB
        2. screenshot-1.png
          screenshot-1.png
          320 kB
        3. screenshot-2.png
          screenshot-2.png
          101 kB

          [JENKINS-57230] Postbuildscript: NullPointerException

          Daniel Heid added a comment -

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

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

          Daniel Heid added a comment -

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

          Daniel Heid added a comment - It's difficult for me to reproduce the problem. Do you have a config.xml for me?

          Alfred Wong added a comment -

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

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

          Daniel Heid added a comment -

          Thanks for the file and sorry for the delay. I imported your configuration, but still cannot reproduce the problem:

          Are you running Jenkins on Windows?

          Daniel Heid added a comment - Thanks for the file and sorry for the delay. I imported your configuration, but still cannot reproduce the problem: Are you running Jenkins on Windows?

          Alfred Wong added a comment -

          The jenkins master is Linux and the slaves are Windows.

          Alfred Wong added a comment - The jenkins master is Linux and the slaves are Windows.

          Daniel Heid added a comment -

          Sorry, but even using your provided config.xml on Windows I could not reproduce the problem:

          Daniel Heid added a comment - Sorry, but even using your provided config.xml on Windows I could not reproduce the problem:

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

              Created:
              Updated:
              Resolved: