Hi,
Our JIRA has been using Behaviours plugin for some time however suddenly one of the behaviours stopped working for everyone but one admin account (not the default one). The script is just a set of simple if else statements, without any condition set. The other behaviours seems to be working just fine.
JIRA log recorded this error:
2014-07-09 12:02:35,800 http-8080-3 WARN w38251 722x4371x1 1y1kezu 10.238.2.22,127.0.0.1 /secure/QuickCreateIssue!default.jspa [issue.customfields.impl.CascadingSelectCFType] Object passed 'null' is not an Option but is null
2014-07-09 12:02:36,128 http-8080-3 ERROR w38251 722x4372x1 1y1kezu 10.238.2.22,127.0.0.1 /rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/validatorsByPid.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
java.lang.NullPointerException
at com.atlassian.jira.issue.IssueImpl.getCustomFieldValue(IssueImpl.java:942)
at com.atlassian.jira.issue.Issue$getCustomFieldValue.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)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at com.onresolve.jira.groovy.Behaviour$_closure1.doCall(Behaviour.groovy:242) <+2>
at java.lang.reflect.Method.invoke(Unknown Source)
While the browser side caught this: