Jira issue after upgrade (5.x -> 7.1.x)

Sathish Kumar Venkataraman May 21, 2016

After upgrading to JIRA 7.1.x, I keep seeing this issue in the logs when I view a JIRA issue.  Looks like this is related to behavior plugin.  What should I do to resolve this?

 

2016-05-22 11:43:42,704 http-nio-8080-exec-4 ERROR admin 703x860x1 knzrkb 192.168.112.239 /rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/validators.json [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: No signature of method: com.atlassian.jira.project.CachingProjectManager.getProject() is applicable for argument types: (java.lang.Long) values: [10200]     Possible solutions: getProjects(), getProjectObj(java.lang.Long) groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira.project.CachingProjectManager.getProject() is applicable for argument types: (java.lang.Long) values: [10200] Possible solutions: getProjects(), getProjectObj(java.lang.Long)         at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:56)         at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)         at com.onresolve.jira.groovy.Behaviour.initIssue(Behaviour.groovy:419)         at com.onresolve.jira.groovy.Behaviour.getValidators(Behaviour.groovy:312)         at com.onresolve.jira.groovy.Behaviour$getValidators.call(Unknown Source)         at com.onresolve.jira.behaviours.BehaviourManagerImpl.runValidator(BehaviourManagerImpl.groovy:133)         at com.onresolve.jira.behaviours.restservice.BehavioursEndpoint.getValidatorsFromIssueId(BehavioursEndpoint.groovy:57)         ... 3 filtered         at java.lang.reflect.Method.invoke(Method.java:497)         ... 19 filtered         at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)         ... 1 filtered         at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)         ... 86 filtered         at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70)         ... 16 filtered         at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)         ... 78 filtered         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)         at java.lang.Thread.run(Thread.java:745)

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2016

It is.  Your version of Behaviours is not valid or supported on that version of JIRA.

You need to remove it from your installation and install a working version.  As it's now part of "Script Runner", you'll need to install that instead.

Suggest an answer

Log in or Sign up to answer