Script Runner - Errors on JIRA startup

Hello,

we have a problem with the script runner.

When we start JIRA the following error occurs:


2015-03-31 10:02:47,337 Thread-24 WARN [onresolve.jira.groovy.ScriptManagerImpl] Failed to create searcher custom field. Can happen during upgrades. com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:87) at com.atlassian.jira.issue.fields.CustomFieldImpl.getCustomFieldSearcher(CustomFieldImpl.java:1809) at com.atlassian.jira.issue.fields.CustomFieldImpl.<init>(CustomFieldImpl.java:249) at com.atlassian.jira.issue.fields.CustomFieldImpl.<init>(CustomFieldImpl.java:222) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager$CustomFieldCache.cloneCustomFields(DefaultCustomFieldManager.java:730) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager$CustomFieldCache.getAllCustomFields(DefaultCustomFieldManager.java:717) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager$CopyOnWriteCustomFieldCache.getAllCustomFields(DefaultCustomFieldManager.java:621) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager.getAllCustomFields(DefaultCustomFieldManager.java:417) at com.atlassian.jira.issue.managers.DefaultCustomFieldManager.getCustomFieldObjects(DefaultCustomFieldManager.java:412) at com.atlassian.jira.issue.CustomFieldManager$getCustomFieldObjects.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

 

2 answers

1 vote

Try disabling and enabling the plugin. This issue should be fixed in the most recent versions.

Hello Jamie, unfortunately it has not solve the problem. the error still occurs. What can we do now?

restart jira... that normally fixes it. What version of the plugin do you have?

i already restart jira but the error is still there the version is 2.1.15

Are you still investigating? can we can expect a solution?

jira version? Did you remove your comment: "There is a error in the admin section Global Edit Validation & Postfunction scripts are disabled due to installation problem: incompatible Quick Edit plugin."

JIRA Version 6.0.8 The comment was regarding to the JIRA Scipting Suite

I'm not sure... ideally upgrade. If you can't can you try without JSS? Can you reproduce the problem in a copy of your production environment?

no i can not reprouce this on an other system. In the marketplace seems that only the version 2.1.15 is compatible to JIRA 6.0.8. the upgrade failed because no other version works and is compatible with JIRA 6.0.8 https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/versions

Hello Benito, i cleared the plugin cache but the error is still there.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you