Soumen Trivedi created JENKINS-12992: ----------------------------------------
Summary: Error - Job Copy & Saving Configuration when using Ivy Trigger Plugin (v0.14) Key: JENKINS-12992 URL: https://issues.jenkins-ci.org/browse/JENKINS-12992 Project: Jenkins Issue Type: Bug Components: ivytrigger Affects Versions: current Environment: <System Info attached with the ticket> Installed Jenkins using rpm Reporter: Soumen Trivedi Priority: Blocker Attachments: ErrorStackTrace-IvyTriggerPlugin.pdf, SystemInfo-IvyTriggerPlugin.pdf We get error when we try to copy an existing job that has IvyTrigger configuration, and press save after performing build configuration (ie. changes to SVN URL, Build Section, etc) changes. Same behavior is observed when the source job (or the job being copied) is either a Free Style Project or Ivy Project. <Error Stack trace> - refer to attachment ErrorStackTrace for complete stack trace of this Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at org.jenkinsci.plugins.ivytrigger.IvyTrigger.getContext(IvyTrigger.java:90) at org.jenkinsci.plugins.ivytrigger.IvyTrigger.getContext(IvyTrigger.java:30) at org.jenkinsci.lib.xtrigger.AbstractTriggerByFullContext.start(AbstractTriggerByFullContext.java:31) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:78) at org.jenkinsci.lib.xtrigger.AbstractTrigger.start(AbstractTrigger.java:26) Work around what we have found is: 1. Disable Ivy trigger plugin in the source job (ie. existing job) 2. Copy the job (ie. while creating a new job using Copy Job functionality on Jenkins UI) 3. Update all configurations and press Save. 4. Update Ivy trigger configuration in the new job and press Save. 5. Enable Ivy trigger configuration on the Source job and press Save. If you have any queries, please email me at soumen.triv...@gmail.com Thanks & Regards Soumen Trivedi -- 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