Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner "...couldn't be loaded. It has one or more errors that prevent it from being enabled" Edited

Hi!
I run into an error with Scriptrunner plugin. I see the "This add-on couldn't be loaded. It has one or more errors that prevent it from being enabled." in Manage add-on menu.
It happend after I made and applay the changes in "Script Fragments". I think I made a mistake there because an 500 browser's error appeared over time:
"Cause
Referer URL: http://server:port/plugins/servlet/scriptrunner/builtin?section=fragments
com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.onresolve.jira.groovy.groovyrunner:project-soy"
I made an investigation about the error, increased the plugin timeout period (https://community.atlassian.com/t5/Jira-questions/How-do-I-solve-quot-This-add-on-couldn-t-be-loaded-It-has-one-or/qaq-p/138409), cleared the plugin cache, restart JIRA application. Now I see the the error what I aforemantioned.

Can somebody help to figure out this problem?

I wouldn't like to uninstall this plugin because I made some tasks that sucessefully works.

JIRA Software v7.1.9 

Scriptrunner v 4.3.13

Atlassian-jira.log

"JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'. Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
at ..."

4 answers

This a horror like zombie story...

What have been done:
1) Uninstalled ScriptRunner plugin
1) Stopped JIRA application
3) Cleared cache of JIRA.
4) I tried to looking for files and context with "groovy" in "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/". Nothing found.
5) Removed folders "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/"
6) Started JIRA application
After that I see ...disabled ScriptRunner plugin in "Manage add-ons".

And the same log text:
"2018-01-23 17:25:03,555 JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'.
Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
"

ScriptRunner for JIRA plugin is zombie!
I remove him and he raise again!
Help me to find a silver arrow!

This a horror like zombie story...

What have been done:
1) Uninstalled ScriptRunner plugin
1) Stopped JIRA application
3) Cleared cache of JIRA.
4) I tried to looking for files and context with "groovy" in "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/". Nothing found.
5) Removed folders "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/"
6) Started JIRA application
After that I see ...disabled ScriptRunner plugin in "Manage add-ons".

And the same log text:
"2018-01-23 17:25:03,555 JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'.
Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
"

ScriptRunner for JIRA plugin is a zombie!
I remove him and he raise again!
Help me to find a silver picket!

This a horror like a zombie story...

What have been done:
1) Uninstalled ScriptRunner plugin
2) Stopped JIRA application
3) Cleared cache of JIRA.
4) I tried to looking for files and context with "groovy" in "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/". Nothing found.
5) Removed folders "/var/atlassian/application-data/jira/scriptrunner" and "/var/atlassian/application-data/gpbjira/scripts/"
6) Started JIRA application
After that I see ...disabled ScriptRunner plugin in "Manage add-ons".

And the same log text:
"2018-01-23 17:25:03,555 JIRA-Bootstrap ERROR [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'Users Roles' of plugin 'com.onresolve.jira.groovy.groovyrunner'.
Disabling.
com.atlassian.plugin.PluginParseException: Could not load class: my.groovy
at com.atlassian.plugin.module.LegacyModuleFactory.getModuleClass(LegacyModuleFactory.java:37)
"

ScriptRunner for JIRA plugin is a zombie!
I remove him and he raise again!
Help me to find a silver ...!

Hey @Aleksandr Karev

Could you please submit a support request on https://productsupport.adaptavist.com/servicedesk/customer/portal/2

Would be really helpful if you could submit you application logs as well. 

Thanks

Thanos


Hi!
Thanks a lot for reply!
The request (+log) was submitted...

Maybe somebody interesting how to fix this issue in the same situation...

It is impossible to fix the issue. It It is nessesary a copy the database in a new enviroment and remove the config. In other words a new enviroment should be recreated.
Maybe in future will be made a feature which can solve such problems...

0 votes
Monique vdB Community Manager Jan 23, 2018

@Aleksandr Karev sorry your post got stuck in the spam quarantine! But hopefully Thanos's link will help you :) 

Hi
Why did it get stuck in n the spam quarantine? I can't understood the reason my post was deleted and that's why I made it much times. And... one of deleted post rose again. Hopefully aren't there zombies on this portal?
I'm not so sure the problem related only with Scriptrunner because I can't delete it from JIRA which seems to me the JIRA problem...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

97 views 1 0
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you