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

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,789 views 18 22
Read article

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