I installed the ScriptRunner v3.0.16 version on a JIRA v6.2.7 (upload directly the jar scriptrunner-jira-3.0.16.jar).
I have an issue while trying to activate the ScriptRunner plugin:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scriptRunner' defined in URL [bundle://143.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.onresolve.scriptrunner.runner.ScriptRunnerImpl
The activation does not work at first and JIRA asks to check the logbooks.
When activating a second time there is no error message but the plugin is still not working.
If I try a third time I will have again the error message, etc...
I did not try to restart Jira.
Thanks in advance for your help.
I suggest uninstall the add-on and then try installing it from the add-ons.
and let us know if you still face problems
Thank you very much for your quick answer.
Unfortunately this JIRA instance is not connected to internet for security reasons, this is why I uploaded the .jar file.
I also tried to install an old groovyrunner-2.1.17.jar compatible with JIRA v6.2.7 (with and without Behaviours-0.5.12.jar "Jamie Echlin Plugin Info Plugin - Safe to remove") but I have the "out of space in CodeCache for adapters" error for groovyrunner.
Maybe I could try this to resolve it using https://jamieechlin.atlassian.net/browse/GRV-56:
"You could try setting: -XX:ReservedCodeCacheSize=64m
in your setenv.sh / setenv.bat script and restarting, which should fix it."
Unless you have another idea?
Setting -XX:ReservedCodeCacheSize=64min in setenv.sh works fine.
During JIRA restart the ScriptRunner (groovyrunner-2.1.17) was automatically activated.
It could be interesting to understand why it does not work with latest plugin version.
Anyway, thanks a lot for your support!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs