Quantcast

[JIRA] (JENKINS-14547) Null pointer exception when using groovy script

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14547) Null pointer exception when using groovy script

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Gregory Boissinot
Components: artifactdeployer
Created: 24/Jul/12 10:25 AM
Description:

When I try to use the deleteRemoteArtifactsByScript feature, I get a NULL pointer exception when trying to apply my changes to the config.

The JSON parser exits with NULL.

Looking at the source on GitHub I think this is because in
https://github.com/jenkinsci/artifactdeployer-plugin/blob/master/src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java#L282

you are using a Name that does not exist. I guess it should be "deleteRemoteArtifactsByScript", right?

Project: Jenkins
Priority: Major Major
Reporter: Fabian Koch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14547) Null pointer exception when using groovy script

JIRA noreply@jenkins-ci.org
Gregory Boissinot resolved Bug JENKINS-14547 as Fixed

Thanks.
The issue came from this line.
Fixed.

Change By: Gregory Boissinot (04/Aug/12 6:19 PM)
Status: Open Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-14547) Null pointer exception when using groovy script

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerBuilder.java
src/main/java/org/jenkinsci/plugins/artifactdeployer/ArtifactDeployerPublisher.java
http://jenkins-ci.org/commit/artifactdeployer-plugin/e29af0c254b965fac2d2c31321a551603c302f63
Log:
Fix JENKINS-14547

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...