[ https://issues.jenkins-ci.org/browse/JENKINS-10042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159722#comment-159722 ]
dogfood commented on JENKINS-10042: ----------------------------------- Integrated in !http://ci.jenkins-ci.org/images/16x16/blue.png! [plugins_m2release #69|http://ci.jenkins-ci.org/job/plugins_m2release/69/] [FIXED JENKINS-10042] recreate logger on deserialisation. (Revision aeabbd9b71fdc0fa3aeb724d6f7e582b98a937fe) Result = SUCCESS James Nord : Files : * src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java > When closing stage failes the plugin causes an exception > -------------------------------------------------------- > > Key: JENKINS-10042 > URL: https://issues.jenkins-ci.org/browse/JENKINS-10042 > Project: Jenkins > Issue Type: Bug > Components: m2release > Reporter: teilo > Assignee: teilo > > When a promotion of a build fails (due to staging validation rules) the > plugin dumps stack. > [M2Release] Closing repository Stage[profileId=40365b31e0dc2b, > stageId=release_staging_profile-418 > FATAL: [M2Release] Could not close repository , StageException > org.jvnet.hudson.plugins.m2release.nexus.StageException: Failed to perform > CLOSE action to nexus stage(Stage[profileId=40365b31e0dc2b, > stageId=release_staging_profile-418) > ERROR: Processing failed due to a bug in the code. Please report this to > jenkinsci-us...@googlegroups.com > java.lang.NullPointerException > at > org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper$2.tearDown(M2ReleaseBuildWrapper.java:198) > at > hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:754) > at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:429) > at hudson.model.Run.run(Run.java:1374) > at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:467) > at hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:145) > THis can be reproduced if you have validation rules on closing a stage (for > instance artifact uniqueness where a release version already exists) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira