-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.406
Linux/Tomcat
The Build-Pipeline view is empty after upgrading to CopyArtifact 1.15 (from 1.14) and upgrading Build-Pipeline from 1.0 to 1.1.1.
Stack trace has a NPE from hudson.plugins.copyartifact.CopyArtifact.
WARNING: Caught exception evaluating: from.getBuildPipelineForm(). Reason: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.TreeMap.putAll(TreeMap.java:290)
at hudson.plugins.copyartifact.CopyArtifact$EnvAction.buildEnvVars(CopyArtifact.java:359)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:756)
at au.com.centrumsystems.hudson.plugin.buildpipeline.PipelineBuild.getBuildResultURL(PipelineBuild.java:190)
at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildForm.<init>(BuildForm.java:66)
at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildForm.<init>(BuildForm.java:82)
at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.getBuildPipelineForm(BuildPipelineView.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:72)
at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134
...
Raised also as an issue on Build-Pipeline: http://code.google.com/p/build-pipeline-plugin/issues/list?thanks=19&ts=1302748637
- is duplicated by
-
JENKINS-9396 Build Pipeline and Copy Artifact plugin combination causes NPE
- Closed