Hello,
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.
Best regards.
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!
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?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Floran,
I suggest uninstall the add-on and then try installing it from the add-ons.
and let us know if you still face problems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.