Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Stephan Janssen, 1 year ago
via Atlassian JIRA by Matthieu Lainné, 1 year ago
via Atlassian JIRA by Tomaz Cerar, 2 years ago
via Atlassian JIRA by Tomaz Cerar, 1 year ago
java.lang.ClassCastException: java.util.Date	at java.sql.Timestamp.compareTo(Timestamp.java:474)	at com.atlassian.confluence.dashboard.actions.GlobalRssBlogFeedAction$1.compare(GlobalRssBlogFeedAction.java:60)	at java.util.Arrays.mergeSort(Arrays.java:1300)	at java.util.Arrays.mergeSort(Arrays.java:1295)	at java.util.Arrays.sort(Arrays.java:1223)	at java.util.Collections.sort(Collections.java:159)	at com.atlassian.confluence.dashboard.actions.GlobalRssBlogFeedAction.sortBlogPosts(GlobalRssBlogFeedAction.java:54)	at com.atlassian.confluence.dashboard.actions.GlobalRssBlogFeedAction.getBlogPosts(GlobalRssBlogFeedAction.java:39)	at sun.reflect.GeneratedMethodAccessor5085.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)	at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:904)	at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:54)	at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:122)	at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)	at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:97)	at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1616)	at ognl.ASTProperty.getValueBody(ASTProperty.java:96)	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:171)	at ognl.SimpleNode.getValue(SimpleNode.java:193)	at ognl.Ognl.getValue(Ognl.java:333)	at ognl.Ognl.getValue(Ognl.java:310)	at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:141)	at com.opensymphony.webwork.views.velocity.WebWorkVelocityContext.internalGet(WebWorkVelocityContext.java:72)	at org.apache.velocity.context.AbstractContext.get(AbstractContext.java:238)	at org.apache.velocity.context.InternalContextAdapterImpl.get(InternalContextAdapterImpl.java:200)	at org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue(ASTReference.java:705)	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:183)	at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:357)	at org.apache.velocity.runtime.directive.Foreach.getIterator(Foreach.java:203)	at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:325)	at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)	at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)	at org.apache.velocity.Template.merge(Template.java:296)	at com.opensymphony.webwork.dispatcher.VelocityResult.doExecute(VelocityResult.java:91)	at bucket.util.profiling.ProfiledVelocityResult.doExecute(ProfiledVelocityResult.java:18)	at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:116)	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:263)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:187)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:40)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:84)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.atlassian.confluence.util.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:133)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229)	at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)	at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:150)	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170)	at bucket.custom.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:31)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:73)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)	at com.atlassian.confluence.util.error.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Thread.java:595)