[JIRA] (JENKINS-57230) Postbuildscript: NullPointerException

0 views
Skip to first unread message

awong29@ford.com (JIRA)

unread,
Apr 29, 2019, 3:23:02 PM4/29/19
to jenkinsc...@googlegroups.com
Alfred Wong created an issue
 
Jenkins / Bug JENKINS-57230
Postbuildscript: NullPointerException
Issue Type: Bug Bug
Assignee: Daniel Heid
Components: postbuildscript-plugin
Created: 2019-04-29 19:22
Environment: Jenkins 2.150.3 PostBuildScript-plugin 2.8.1
Priority: Major Major
Reporter: Alfred Wong

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

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dheid@posteo.de (JIRA)

unread,
May 19, 2019, 12:01:03 PM5/19/19
to jenkinsc...@googlegroups.com
Daniel Heid commented on Bug JENKINS-57230
 
Re: Postbuildscript: NullPointerException

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

dheid@posteo.de (JIRA)

unread,
May 19, 2019, 12:15:02 PM5/19/19
to jenkinsc...@googlegroups.com
 
Re: Postbuildscript: NullPointerException

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

dheid@posteo.de (JIRA)

unread,
May 19, 2019, 12:16:02 PM5/19/19
to jenkinsc...@googlegroups.com
Daniel Heid started work on Bug JENKINS-57230
 
Change By: Daniel Heid
Status: Open In Progress

awong29@ford.com (JIRA)

unread,
May 22, 2019, 10:35:02 AM5/22/19
to jenkinsc...@googlegroups.com
Alfred Wong updated an issue
Change By: Alfred Wong
Attachment: config.xml

awong29@ford.com (JIRA)

unread,
May 22, 2019, 10:36:01 AM5/22/19
to jenkinsc...@googlegroups.com
Alfred Wong commented on Bug JENKINS-57230
 
Re: Postbuildscript: NullPointerException

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

dheid@posteo.de (JIRA)

unread,
Sep 14, 2019, 11:17:02 AM9/14/19
to jenkinsc...@googlegroups.com
Daniel Heid updated an issue
Change By: Daniel Heid
Attachment: screenshot-1.png
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

dheid@posteo.de (JIRA)

unread,
Sep 14, 2019, 11:17:02 AM9/14/19
to jenkinsc...@googlegroups.com
Daniel Heid commented on Bug JENKINS-57230
 
Re: Postbuildscript: NullPointerException

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?

awong29@ford.com (JIRA)

unread,
Sep 16, 2019, 10:03:02 AM9/16/19
to jenkinsc...@googlegroups.com
Alfred Wong commented on Bug JENKINS-57230
 
Re: Postbuildscript: NullPointerException

The jenkins master is Linux and the slaves are Windows.

dheid@posteo.de (JIRA)

unread,
Sep 29, 2019, 1:02:02 PM9/29/19
to jenkinsc...@googlegroups.com
Daniel Heid updated an issue
Change By: Daniel Heid
Attachment: screenshot-2.png

dheid@posteo.de (JIRA)

unread,
Sep 29, 2019, 1:02:03 PM9/29/19
to jenkinsc...@googlegroups.com
Daniel Heid commented on Bug JENKINS-57230
 
Re: Postbuildscript: NullPointerException

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

dheid@posteo.de (JIRA)

unread,
Sep 29, 2019, 1:03:02 PM9/29/19
to jenkinsc...@googlegroups.com
Daniel Heid stopped work on Bug JENKINS-57230
 
Change By: Daniel Heid
Status: In Progress Open

dheid@posteo.de (JIRA)

unread,
Sep 29, 2019, 1:03:03 PM9/29/19
to jenkinsc...@googlegroups.com
Daniel Heid closed an issue as Cannot Reproduce
Change By: Daniel Heid
Status: Open Closed
Resolution: Cannot Reproduce
Reply all
Reply to author
Forward
0 new messages