Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I am using Jira 6.3.3 and ScriptRunner 3.0.4. When I'm trying to run a little script using the script console I get the following error:
BUG! exception in phase 'semantic analysis' in source unit 'Script41.groovy' Bundle is uninstalled at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:927)
I found out that it must have something to do with the imports. For example:
import com.atlassian.jira.issue.Issue; println "test" log.error "test"
will bring up the error message whereas:
println "test" log.error "test"
runs without any issue. Maybe someone knows whats wrong here.
Best regards
Mathias
That's a bit weird... try disabling and enabling the plugin?
Got the same thing but cycling the addon is not resolving the problem, which is happening since we installed the service desk add-on This stack trace is raised when you have a 'commentvalidator' script in your workflow transition. The full stack trace is http://pastebin.com/B4Sj2Ak1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So when SD is disabled, no problem, as soon as you re-enable, problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a production system - so I can't experiment. I removed the commentvalidator from the workflow, which obviously resolved the symptom. Will try to reproduce on test system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Disabling and then re-enabling fixed the problem for me; thank you for the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same for me, disabling and then re-enabling the Script Runner add-on, worked for me !! Thanks Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, your hint solved the problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Disabling , Re enabling the plugin. (in my case updating also) fixed the issue.
This bug really should be adressed as it's the 2nd time it has happened in our production system, unpredictably.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We had the same issue, we disabled/re-enabled the ScriptRunner plugin and it fixed our issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am getting a similar error after upgrading:
BUG! exception in phase 'semantic analysis' in source unit 'bundle://158.0:0/com/onresolve/scriptrunner/canned/jira/workflow/conditions/CustomScriptCondition.groovy' Bundle is uninstalled
This groovy script doesn't even exist in the plugin jar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got the same error After upgrading to JIRA 6.3.12. This occured when user was trying to access an issue. Nothing else, just access
Referer URL: Unknown
BUG! exception in phase 'semantic analysis' in source unit 'bundle://152.0:0/com/onresolve/scriptrunner/canned/jira/workflow/conditions/SimpleScriptedCondition.groovy' Bundle is uninstalled
BUG! exception in phase 'semantic analysis' in source unit 'bundle://152.0:0/com/onresolve/scriptrunner/canned/jira/workflow/conditions/SimpleScriptedCondition.groovy' Bundle is uninstalled
I upgraded a number of plugins at the same time as upgrading, but not script runner. I disabled/enabled and this problem went away. Just thought I would add this in case people see similar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Roy. Accessing an issue will check the conditions, in your case your workflow must use Simple Scripted Condition. So try the solution...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.