Issue
-
When I am trying to update the Jenkins configuration and hit save, I am getting a StackOverflow exception as shown below:
WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving https://jenkinsurl:8080/configSubmit java.lang.StackOverflowError at java.lang.System.getProperty(System.java:714) at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:84) at sun.security.action.GetPropertyAction.run(GetPropertyAction.java:49) at java.security.AccessController.doPrivileged(Native Method) at java.io.BufferedWriter.<init>(BufferedWriter.java:109) at java.io.BufferedWriter.<init>(BufferedWriter.java:88) at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:76) at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:57) at hudson.XmlFile.write(XmlFile.java:168) at hudson.model.Descriptor.save(Descriptor.java:872) at hudson.model.Saveable$save.callCurrent(Unknown Source)
Environment
-
CloudBees Jenkins Enterprise (CJE)
-
CloudBees Jenkins Enterprise - Managed controller (CJE-MM)
-
Jira Trigger Plugin versions below 0.2.4
Resolution
This is a known Jenkins issue Jenkins-39096 which is fixed in versions of the Jira Trigger plugin equal or higher than 0.2.4.
You can check the plugin changelog to get additional information on the changes included in the different versions.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.