Groovy Runner NPE "Cannot invoke method getJqlFunction() "

Hi,

one of my favorite plug-ins is the Groovy Runner (Great Job Jamie!). Recently I do observe a consistent stack trace being thrown by something the Groovy Runner is doing:

2013-08-31 21:38:25,621 http-bio-8080-exec-18 ERROR michael.stump 1298x3612x9 m3xdea 108.46.157.38,127.0.0.1 /rest/gadget/1.0/favfilters [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
java.lang.NullPointerException: Cannot invoke method getJqlFunction() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
at com.onresolve.jira.groovy.jql.ScriptedFunctionClauseFactory.getQuery(ScriptedFunctionClauseFactory.groovy:43)
at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:155)
at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:25)

Does anyone had similar experiences?

Thanks

Michael

2 answers

1 accepted

0 vote

Hi michael... I'm sure I know you from somewhere.

Is there any more to that stack trace? What version of script runner are you using?

The problem seems to originate somewhere in the favourite filters gadget... if there are not lots of filters, maybe you can click through them one by one and check that they all work.

If that doesn't help feel free to send me an xml backup to my gmail address.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

101 views 0 1
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