Help for JENKINS-32526 (Copyartifact with Templates Plugin)

9 views
Skip to first unread message

Ikedam

unread,
Feb 27, 2016, 10:10:53 PM2/27/16
to Jenkins Developers
Hello.

There looks an issue causing NPE when you use Copyartifact with Templates Plugin in CloudBees Jenkins Platform:

* https://issues.jenkins-ci.org/browse/JENKINS-32526
* https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin
* https://www.cloudbees.com/products/cloudbees-jenkins-platform/enterprise-edition/features/templates-plugin

Though it's easy to add a workaround code not to cause NPE,
I want to know what happens internally.
But I can't reproduce the problem as I don't use CloudBees Jenkins Platform.

Would anyone see that and let me know followings?

* Why `null` is passed to `@AncestorInPath`?
* Is there better way to fix?
    * I believe it can be fixed by changing the class of `@AncestorInPath`.

Regards,
ikedam

Ikedam

unread,
Feb 28, 2016, 6:24:23 PM2/28/16
to Jenkins Developers
> * Why `null` is passed to `@AncestorInPath`?
> * Is there better way to fix?
> * I believe it can be fixed by changing the class of `@AncestorInPath`.

Resolved.
The reporter updated the JIRA comment
so that I know aboves now.

Thanks!
ikedam

Reply all
Reply to author
Forward
0 new messages