Incompatibly between Behaviours and Tempo 7.5/7.6

I have the following caracteristics on my JIRA system:

  • Tempo: 7.4.3
  • Behavior: 0.5.3
  • JIRA: 5.2.11

I am trying to upgrade tempo to the last version. Nothing unnormal in the functionalities of neither Tempo or Behaviours, but iam getting this error in the logs each time the Log Work or Plan Time dialogue popups are called for an issue:

2013-05-16 08:26:08,370 http-bio-8080-exec-22 ERROR username 506x852x1 bmhm1k 0:0:0:0:0:0:0:1 /rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/validators.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
com.sun.jersey.api.ParamException$QueryParamException: java.lang.NumberFormatException: For input string: ""
	at com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider$QueryParamInjectable.getValue(QueryParamInjectableProvider.java:74)
	at com.sun.jersey.server.impl.inject.InjectableValuesProvider.getInjectableValues(InjectableValuesProvider.java:46)
	at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$EntityParamInInvoker.getParams(DispatchProviderHelper.java:159)
	at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:228)
	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)  <+11> (HttpMethodRule.java:288) (RightHandPathRule.java:147) (ResourceClassRule.java:108) (RightHandPathRule.java:147) (RootResourceClassesRule.java:84) (WebApplicationImpl.java:1469) (WebApplicationImpl.java:1400) (WebApplicationImpl.java:1349) (WebApplicationImpl.java:1339) (WebComponent.java:416) (ServletContainer.java:537)
	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)  <+1> (ServletContainer.java:795)
	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73)  <+16> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (RestServletUtilsUpdaterFilter.java:26) (RestServletUtilsUpdaterFilter.java:40) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66) (ContextFilter.java:25) (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (DelegatingPluginFilter.java:66)
	at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37)  <+15> (DelegatingPluginFilter.java:74) (IteratingFilterChain.java:42) (ServletFilterModuleContainerFilter.java:77) (ServletFilterModuleContainerFilter.java:63) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (AccessLogFilter.java:103) (AccessLogFilter.java:87) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (XsrfTokenAdditionRequestFilter.java:54) (ApplicationFilterChain.java:243) (ApplicationFilterChain.java:210) (IteratingFilterChain.java:46) (DelegatingPluginFilter.java:66)

I created this issue hopping that Jamie could have the time to answer it.

Any hints that you may have, could help...

Thx

4 answers

1 accepted

Upgrading to :

  • JIRA 6.3
  • Tempo 7.10.1
  • And Script Runner (Behaviours) 3.0.6

With the precedent versions, the problem doesn't exist anymore. smile

For older versions, see my second response.

This has also been reported to Tempo Support and the Tempo developers are in contact with the reporter.

Sverrir Tynes
Tempo support

Any update or link to the support ticket? This happens in JIRA 6.1, Tempo 7.8 and Behaviour 0.5.10.

Hi Mark,

the support ticket is not open, but Tempo developers investigated this at the time (May last year) and came to the conclusion that this is a third-party issue. They suggested contacting the vendor of the Behaviours plugin.

Kind regards,

Susanne

Hi Yousef, What turnaround fix did you do? what did you fix in the "clientvaljq.js" file. Any help would be useful our logs are full of the above message.

Hello Shamhoon,

Please check the clientvaljq.js i attached to the issue here.

(a simple compare on notpade++ with the original file and you will find out the expressions i added in some if conditions statements to ignore the issueid when it is null)

Yousef

I have the error mentioned, this is my Jira configuration:

JIRA 6.1
Tempo 7.10.3
Script Runner 2.1.16
Behaviour Plugin 0.5.10

/rest/com.onresolve.jira.plugin.Behaviours/1.0/behaviours/validators.json [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service

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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

361 views 0 6
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