[ https://issues.jenkins-ci.org/browse/JENKINS-12887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Maxwell updated JENKINS-12887: ----------------------------------- Description: If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor" Redeploy Artifacts fails with: java.lang.NullPointerException at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) at hudson.model.TaskThread.run(TaskThread.java:127) It would appear that at least one non-executor associated repo would be required. Workaround is to set Use private Maven repository->Local to workspace for the jobs one wishes to support redeploy. was: If Maven Project Configuration->Local Maven Repository is set to "Local to the Executor" Redeploy Artifacts fails with: java.lang.NullPointerException at hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) at hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) at hudson.model.TaskThread.run(TaskThread.java:127) It would appear that at least one non-executor associated repo would be required. > Redeploy Artifacts fails if Maven Project Configuration->Local Maven > Repository is set to "Local to the Executor" > ----------------------------------------------------------------------------------------------------------------- > > Key: JENKINS-12887 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12887 > Project: Jenkins > Issue Type: Bug > Components: maven2 > Environment: 1.450 Solaris JDK 1.6.0-21 > Reporter: Jeff Maxwell > Priority: Critical > > If Maven Project Configuration->Local Maven Repository is set to "Local to > the Executor" > Redeploy Artifacts fails with: > java.lang.NullPointerException > at > hudson.maven.local_repo.PerExecutorLocalRepositoryLocator.locate(PerExecutorLocalRepositoryLocator.java:18) > at hudson.maven.MavenUtil.createEmbedder(MavenUtil.java:106) > at > hudson.maven.reporters.MavenAbstractArtifactRecord$1.perform(MavenAbstractArtifactRecord.java:224) > at hudson.model.TaskThread.run(TaskThread.java:127) > It would appear that at least one non-executor associated repo would be > required. > Workaround is to set Use private Maven repository->Local to workspace for the > jobs one wishes to support redeploy. -- 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