ClassCastException in catalina.out logs

Description

We have a lot of such stack trace in catalina.out log file of our production instance of JIRA:

2018-07-12 09:58:35,221 http-nio-8080-exec-87 ERROR gli 598x5319536x3 1tzb7t5 10.23.58.193,10.41.221.151 /rest/quickwatch/1.0/notification/count/unread/desktop/0 [c.m.j.p.watch.rest.NotificationResource] java.lang.Integer cannot be cast to java.lang.Longjava.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long        at com.metainf.jira.plugin.watch.rest.NotificationResource.getCountUnreadWithDesktop(NotificationResource.java:209)        at sun.reflect.GeneratedMethodAccessor5669.invoke(Unknown Source)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:498)        at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:192)        ... 18 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)        ... 22 filtered

Any idea on its impact? Also, this is flooding the log file...

Thanks,

Pascal Rieux
Sierra Wireless

Environment

None

Preliminary Test Cases

None

Assignee

Tibor Hegyi

Reporter

Tibor Hegyi

Labels

None

Access to limited visibility issues

None

Product platform

None

Ready for Development

None

Fix versions

Priority

Major
Configure