java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement cannot be cast to java.sql.CallableStatement

Hibernate JIRA | Frank Prumbaum | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Since *4.3.6* we are getting an exception {quote} java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement cannot be cast to java.sql.CallableStatement at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:75) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.getResultSet(AbstractLoadPlanBasedLoader.java:449) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeQueryStatement(AbstractLoadPlanBasedLoader.java:202) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:137) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:102) at org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.initialize(AbstractLoadPlanBasedCollectionInitializer.java:100) at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:693) at org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:92) at org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1933) at org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:683) at org.hibernate.engine.internal.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:894) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:360) at org.hibernate.loader.Loader.doList(Loader.java:2554) at org.hibernate.loader.Loader.doList(Loader.java:2540) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370) at org.hibernate.loader.Loader.list(Loader.java:2365) at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:126) at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1718) at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380) at de.repl.prl.service.impl.db.dao.InquiryDAO.find(InquiryDAO.java:81) at sun.reflect.GeneratedMethodAccessor930.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at $Proxy388.find(Unknown Source) at de.repl.prl.service.impl.PrlService.searchInquiry(PrlService.java:201) at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at $Proxy393.searchInquiry(Unknown Source) at sun.reflect.GeneratedMethodAccessor928.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:212) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:39) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:74) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:51) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at de.repl.alert.monitor.ExceptionFilter.doFilter(ExceptionFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) {quote} We are using * hibernate-orm 4.3.9 * spring 4.1.6 * Oracle ojdbc6-11.2.0.3 It seems with *4.3.6* the code {code:java|title=ResultSetReturnImpl.java v.4.3.5} @Override public ResultSet extract(PreparedStatement statement) { // IMPL NOTE : SQL logged by caller if ( statement instanceof CallableStatement ) { // We actually need to extract from Callable statement. Although // this seems needless, Oracle can return an // OracleCallableStatementWrapper that finds its way to this method, // rather than extract(CallableStatement). See HHH-8022. final CallableStatement callableStatement = (CallableStatement) statement; return extract( callableStatement ); } {code} was changed to {code:java|title=ResultSetReturnImpl.java 4.3.6} @Override public ResultSet extract(PreparedStatement statement) { // IMPL NOTE : SQL logged by caller if (isTypeOf(statement, CallableStatement.class)) { // We actually need to extract from Callable statement. Although // this seems needless, Oracle can return an // OracleCallableStatementWrapper that finds its way to this method, // rather than extract(CallableStatement). See HHH-8022. final CallableStatement callableStatement = (CallableStatement) statement; return extract( callableStatement ); } {code} In the given case our Statement is of type *NewProxyPreparedStatement*, so the method *isTypeOf* will return true for *statement.isWrapperFor( type );* {code:java|title=ResultSetReturnImpl.java} private boolean isTypeOf(final Statement statement, final Class<? extends Statement> type) { if (isJdbc4) { try { // This is "more correct" than #isInstance, but not always supported. return statement.isWrapperFor( type ); } catch (SQLException e) { // No operation } catch (Throwable e) { // No operation. Note that this catches more than just SQLException to // cover edge cases where a driver might throw an UnsupportedOperationException, AbstractMethodError, // etc. If so, skip permanently. isJdbc4 = false; } } return type.isInstance( statement ); } {code} Unfortunately *NewProxyPreparedStatement* itself is of type *Statement*, not of type *CallableStatement*. Therefore, the exception occurs. The code in ResultSetReturnImpl was not changed for any newer version of hibernate-orm, so at the moment we are stuck with *v.4.3.5*. It seems someone else got the exact error as we now do but it did not seem to get any attention: https://forum.hibernate.org/viewtopic.php?f=1&t=1037030&view=previous

    Hibernate JIRA | 1 year ago | Frank Prumbaum
    java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement cannot be cast to java.sql.CallableStatement
  2. 0

    Since *4.3.6* we are getting an exception {quote} java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement cannot be cast to java.sql.CallableStatement at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:75) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.getResultSet(AbstractLoadPlanBasedLoader.java:449) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeQueryStatement(AbstractLoadPlanBasedLoader.java:202) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:137) at org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:102) at org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.initialize(AbstractLoadPlanBasedCollectionInitializer.java:100) at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:693) at org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:92) at org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1933) at org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:683) at org.hibernate.engine.internal.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:894) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:360) at org.hibernate.loader.Loader.doList(Loader.java:2554) at org.hibernate.loader.Loader.doList(Loader.java:2540) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370) at org.hibernate.loader.Loader.list(Loader.java:2365) at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:126) at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1718) at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380) at de.repl.prl.service.impl.db.dao.InquiryDAO.find(InquiryDAO.java:81) at sun.reflect.GeneratedMethodAccessor930.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at $Proxy388.find(Unknown Source) at de.repl.prl.service.impl.PrlService.searchInquiry(PrlService.java:201) at sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:78) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at $Proxy393.searchInquiry(Unknown Source) at sun.reflect.GeneratedMethodAccessor928.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:212) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:39) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:74) at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:51) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at de.repl.alert.monitor.ExceptionFilter.doFilter(ExceptionFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) {quote} We are using * hibernate-orm 4.3.9 * spring 4.1.6 * Oracle ojdbc6-11.2.0.3 It seems with *4.3.6* the code {code:java|title=ResultSetReturnImpl.java v.4.3.5} @Override public ResultSet extract(PreparedStatement statement) { // IMPL NOTE : SQL logged by caller if ( statement instanceof CallableStatement ) { // We actually need to extract from Callable statement. Although // this seems needless, Oracle can return an // OracleCallableStatementWrapper that finds its way to this method, // rather than extract(CallableStatement). See HHH-8022. final CallableStatement callableStatement = (CallableStatement) statement; return extract( callableStatement ); } {code} was changed to {code:java|title=ResultSetReturnImpl.java 4.3.6} @Override public ResultSet extract(PreparedStatement statement) { // IMPL NOTE : SQL logged by caller if (isTypeOf(statement, CallableStatement.class)) { // We actually need to extract from Callable statement. Although // this seems needless, Oracle can return an // OracleCallableStatementWrapper that finds its way to this method, // rather than extract(CallableStatement). See HHH-8022. final CallableStatement callableStatement = (CallableStatement) statement; return extract( callableStatement ); } {code} In the given case our Statement is of type *NewProxyPreparedStatement*, so the method *isTypeOf* will return true for *statement.isWrapperFor( type );* {code:java|title=ResultSetReturnImpl.java} private boolean isTypeOf(final Statement statement, final Class<? extends Statement> type) { if (isJdbc4) { try { // This is "more correct" than #isInstance, but not always supported. return statement.isWrapperFor( type ); } catch (SQLException e) { // No operation } catch (Throwable e) { // No operation. Note that this catches more than just SQLException to // cover edge cases where a driver might throw an UnsupportedOperationException, AbstractMethodError, // etc. If so, skip permanently. isJdbc4 = false; } } return type.isInstance( statement ); } {code} Unfortunately *NewProxyPreparedStatement* itself is of type *Statement*, not of type *CallableStatement*. Therefore, the exception occurs. The code in ResultSetReturnImpl was not changed for any newer version of hibernate-orm, so at the moment we are stuck with *v.4.3.5*. It seems someone else got the exact error as we now do but it did not seem to get any attention: https://forum.hibernate.org/viewtopic.php?f=1&t=1037030&view=previous

    Hibernate JIRA | 1 year ago | Frank Prumbaum
    java.lang.ClassCastException: com.mchange.v2.c3p0.impl.NewProxyPreparedStatement cannot be cast to java.sql.CallableStatement
  3. 0

    Trying to setup this task results in the following stacktrace: {noformat} 2-08-17 10:51:09.811918500 2012-08-17 10:51:09,811 INFO [TP-Processor8] [AccessLogFilter] sysadmin POST https://juriba.atlassian.net/builds/build/admin/edit/createTask.action 16877kb 2012-08-17 10:51:09.900854500 Aug 17, 2012 10:51:09 AM org.apache.catalina.core.StandardWrapperValve invoke 2012-08-17 10:51:09.900856500 SEVERE: Servlet.service() for servlet default threw exception 2012-08-17 10:51:09.900857500 java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String 2012-08-17 10:51:09.900858500 at com.atlassian.studio.bamboo.topnav.DecoratorHelper.getDecoratorName(DecoratorHelper.java:34) 2012-08-17 10:51:09.900858500 at com.atlassian.studio.bamboo.globaladmin.GlobalAdminDecoratorMapper.getDecorator(GlobalAdminDecoratorMapper.java:32) 2012-08-17 10:51:09.900871500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecoratorFromPluginMappers(PluginDecoratorMapper.java:94) 2012-08-17 10:51:09.900872500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:32) 2012-08-17 10:51:09.900873500 at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45) 2012-08-17 10:51:09.900875500 at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41) 2012-08-17 10:51:09.900876500 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:57) 2012-08-17 10:51:09.900877500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900882500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900882500 at com.atlassian.bamboo.ww2.ValidActionContextMarker.doFilter(ValidActionContextMarker.java:37) 2012-08-17 10:51:09.900883500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900884500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900900500 at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) 2012-08-17 10:51:09.900901500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900902500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900903500 at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:30) 2012-08-17 10:51:09.900905500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900906500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900909500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.900910500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.900910500 at com.atlassian.studio.common.appstatus.AppStatusServletFilter.doFilter(AppStatusServletFilter.java:61) 2012-08-17 10:51:09.900911500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.900913500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.900914500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.900915500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.900917500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900917500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900918500 at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) 2012-08-17 10:51:09.900922500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900922500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900923500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) 2012-08-17 10:51:09.900924500 at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 2012-08-17 10:51:09.900926500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.900927500 at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:71) 2012-08-17 10:51:09.900928500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.900928500 at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) 2012-08-17 10:51:09.900930500 at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) 2012-08-17 10:51:09.900931500 at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) 2012-08-17 10:51:09.900932500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900935500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900935500 at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) 2012-08-17 10:51:09.900936500 at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) 2012-08-17 10:51:09.900937500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900944500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900944500 at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) 2012-08-17 10:51:09.900945500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900946500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900948500 at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) 2012-08-17 10:51:09.900949500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900949500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900953500 at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) 2012-08-17 10:51:09.900953500 at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:34) 2012-08-17 10:51:09.900954500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900955500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900957500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.900958500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.900959500 at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) 2012-08-17 10:51:09.900960500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.900963500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.900964500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.900967500 at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) 2012-08-17 10:51:09.900968500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.900969500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.900971500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.900972500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.900974500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900976500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900977500 at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) 2012-08-17 10:51:09.900978500 at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) 2012-08-17 10:51:09.900982500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.900983500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900984500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900984500 at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:75) 2012-08-17 10:51:09.900987500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900988500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900988500 at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) 2012-08-17 10:51:09.900989500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900994500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900995500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.900995500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.901000500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.901001500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.901002500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.901004500 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) 2012-08-17 10:51:09.901005500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.901006500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.901007500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.901009500 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 2012-08-17 10:51:09.901010500 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 2012-08-17 10:51:09.901011500 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 2012-08-17 10:51:09.901015500 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 2012-08-17 10:51:09.901016500 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 2012-08-17 10:51:09.901017500 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 2012-08-17 10:51:09.901017500 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) 2012-08-17 10:51:09.901020500 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) 2012-08-17 10:51:09.901020500 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) 2012-08-17 10:51:09.901021500 at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) 2012-08-17 10:51:09.901022500 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) 2012-08-17 10:51:09.901024500 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) 2012-08-17 10:51:09.901024500 at java.lang.Thread.run(Thread.java:662) 2012-08-17 10:51:09.903428500 2012-08-17 10:51:09,902 ERROR [TP-Processor8] [FiveOhOh] 500 Exception was thrown. 2012-08-17 10:51:09.903429500 java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String 2012-08-17 10:51:09.903430500 at com.atlassian.studio.bamboo.topnav.DecoratorHelper.getDecoratorName(DecoratorHelper.java:34) 2012-08-17 10:51:09.903431500 at com.atlassian.studio.bamboo.globaladmin.GlobalAdminDecoratorMapper.getDecorator(GlobalAdminDecoratorMapper.java:32) 2012-08-17 10:51:09.903433500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecoratorFromPluginMappers(PluginDecoratorMapper.java:94) 2012-08-17 10:51:09.903439500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:32) 2012-08-17 10:51:09.903440500 at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45) 2012-08-17 10:51:09.903441500 at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41) 2012-08-17 10:51:09.903448500 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:57) 2012-08-17 10:51:09.903449500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903453500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903454500 at com.atlassian.bamboo.ww2.ValidActionContextMarker.doFilter(ValidActionContextMarker.java:37) 2012-08-17 10:51:09.903455500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903456500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903459500 at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) 2012-08-17 10:51:09.903460500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903460500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903461500 at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:30) 2012-08-17 10:51:09.903464500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903465500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903465500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.903469500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.903470500 at com.atlassian.studio.common.appstatus.AppStatusServletFilter.doFilter(AppStatusServletFilter.java:61) 2012-08-17 10:51:09.903471500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.903473500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.903474500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.903475500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.903478500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903478500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903479500 at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) 2012-08-17 10:51:09.903480500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903484500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903485500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) 2012-08-17 10:51:09.903486500 at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 2012-08-17 10:51:09.903488500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.903490500 at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:71) 2012-08-17 10:51:09.903491500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.903492500 at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) 2012-08-17 10:51:09.903493500 at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) 2012-08-17 10:51:09.903495500 at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) 2012-08-17 10:51:09.903496500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903503500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903505500 at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) 2012-08-17 10:51:09.903505500 at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) 2012-08-17 10:51:09.903506500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903509500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903510500 at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) 2012-08-17 10:51:09.903511500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903512500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903515500 at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) 2012-08-17 10:51:09.903516500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903517500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903520500 at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) 2012-08-17 10:51:09.903521500 at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:34) 2012-08-17 10:51:09.903522500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903523500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903526500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.903527500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.903528500 at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) 2012-08-17 10:51:09.903529500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.903532500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.903533500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.903534500 at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) 2012-08-17 10:51:09.903538500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.903539500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.903540500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.903543500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.903544500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903545500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903547500 at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) 2012-08-17 10:51:09.903549500 at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) 2012-08-17 10:51:09.903550500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.903554500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903555500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903556500 at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:75) 2012-08-17 10:51:09.903557500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903562500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903563500 at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) 2012-08-17 10:51:09.903564500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903565500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903568500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.903569500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.903573500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.903574500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903575500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903577500 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) 2012-08-17 10:51:09.903579500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.903580500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903581500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903583500 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 2012-08-17 10:51:09.903584500 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 2012-08-17 10:51:09.903585500 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 2012-08-17 10:51:09.903586500 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 2012-08-17 10:51:09.903591500 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 2012-08-17 10:51:09.903592500 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 2012-08-17 10:51:09.903593500 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) 2012-08-17 10:51:09.903594500 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) 2012-08-17 10:51:09.903596500 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) 2012-08-17 10:51:09.903597500 at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) 2012-08-17 10:51:09.903598500 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) 2012-08-17 10:51:09.903599500 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) 2012-08-17 10:51:09.903601500 at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 5 years ago | Bas Jansen
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String 2012-08-17 10:51:09.903430500 at com.atlassian.studio.bamboo.topnav.DecoratorHelper.getDecoratorName(DecoratorHelper.java:34) 2012-08-17 10:51:09.903431500 at com.atlassian.studio.bamboo.globaladmin.GlobalAdminDecoratorMapper.getDecorator(GlobalAdminDecoratorMapper.java:32) 2012-08-17 10:51:09.903433500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecoratorFromPluginMappers(PluginDecoratorMapper.java:94) 2012-08-17 10:51:09.903439500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:32) 2012-08-17 10:51:09.903440500 at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45) 2012-08-17 10:51:09.903441500 at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41) 2012-08-17 10:51:09.903448500 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:57) 2012-08-17 10:51:09.903449500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903453500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903454500 at com.atlassian.bamboo.ww2.ValidActionContextMarker.doFilter(ValidActionContextMarker.java:37) 2012-08-17 10:51:09.903455500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903456500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903459500 at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to setup this task results in the following stacktrace: {noformat} 2-08-17 10:51:09.811918500 2012-08-17 10:51:09,811 INFO [TP-Processor8] [AccessLogFilter] sysadmin POST https://juriba.atlassian.net/builds/build/admin/edit/createTask.action 16877kb 2012-08-17 10:51:09.900854500 Aug 17, 2012 10:51:09 AM org.apache.catalina.core.StandardWrapperValve invoke 2012-08-17 10:51:09.900856500 SEVERE: Servlet.service() for servlet default threw exception 2012-08-17 10:51:09.900857500 java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String 2012-08-17 10:51:09.900858500 at com.atlassian.studio.bamboo.topnav.DecoratorHelper.getDecoratorName(DecoratorHelper.java:34) 2012-08-17 10:51:09.900858500 at com.atlassian.studio.bamboo.globaladmin.GlobalAdminDecoratorMapper.getDecorator(GlobalAdminDecoratorMapper.java:32) 2012-08-17 10:51:09.900871500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecoratorFromPluginMappers(PluginDecoratorMapper.java:94) 2012-08-17 10:51:09.900872500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:32) 2012-08-17 10:51:09.900873500 at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45) 2012-08-17 10:51:09.900875500 at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41) 2012-08-17 10:51:09.900876500 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:57) 2012-08-17 10:51:09.900877500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900882500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900882500 at com.atlassian.bamboo.ww2.ValidActionContextMarker.doFilter(ValidActionContextMarker.java:37) 2012-08-17 10:51:09.900883500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900884500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900900500 at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) 2012-08-17 10:51:09.900901500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900902500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900903500 at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:30) 2012-08-17 10:51:09.900905500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900906500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900909500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.900910500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.900910500 at com.atlassian.studio.common.appstatus.AppStatusServletFilter.doFilter(AppStatusServletFilter.java:61) 2012-08-17 10:51:09.900911500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.900913500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.900914500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.900915500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.900917500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900917500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900918500 at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) 2012-08-17 10:51:09.900922500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900922500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900923500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) 2012-08-17 10:51:09.900924500 at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 2012-08-17 10:51:09.900926500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.900927500 at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:71) 2012-08-17 10:51:09.900928500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.900928500 at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) 2012-08-17 10:51:09.900930500 at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) 2012-08-17 10:51:09.900931500 at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) 2012-08-17 10:51:09.900932500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900935500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900935500 at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) 2012-08-17 10:51:09.900936500 at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) 2012-08-17 10:51:09.900937500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900944500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900944500 at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) 2012-08-17 10:51:09.900945500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900946500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900948500 at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) 2012-08-17 10:51:09.900949500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900949500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900953500 at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) 2012-08-17 10:51:09.900953500 at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:34) 2012-08-17 10:51:09.900954500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900955500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900957500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.900958500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.900959500 at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) 2012-08-17 10:51:09.900960500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.900963500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.900964500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.900967500 at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) 2012-08-17 10:51:09.900968500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.900969500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.900971500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.900972500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.900974500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900976500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900977500 at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) 2012-08-17 10:51:09.900978500 at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) 2012-08-17 10:51:09.900982500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.900983500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900984500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900984500 at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:75) 2012-08-17 10:51:09.900987500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900988500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900988500 at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) 2012-08-17 10:51:09.900989500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.900994500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.900995500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.900995500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.901000500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.901001500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.901002500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.901004500 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) 2012-08-17 10:51:09.901005500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.901006500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.901007500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.901009500 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 2012-08-17 10:51:09.901010500 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 2012-08-17 10:51:09.901011500 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 2012-08-17 10:51:09.901015500 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 2012-08-17 10:51:09.901016500 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 2012-08-17 10:51:09.901017500 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 2012-08-17 10:51:09.901017500 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) 2012-08-17 10:51:09.901020500 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) 2012-08-17 10:51:09.901020500 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) 2012-08-17 10:51:09.901021500 at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) 2012-08-17 10:51:09.901022500 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) 2012-08-17 10:51:09.901024500 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) 2012-08-17 10:51:09.901024500 at java.lang.Thread.run(Thread.java:662) 2012-08-17 10:51:09.903428500 2012-08-17 10:51:09,902 ERROR [TP-Processor8] [FiveOhOh] 500 Exception was thrown. 2012-08-17 10:51:09.903429500 java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String 2012-08-17 10:51:09.903430500 at com.atlassian.studio.bamboo.topnav.DecoratorHelper.getDecoratorName(DecoratorHelper.java:34) 2012-08-17 10:51:09.903431500 at com.atlassian.studio.bamboo.globaladmin.GlobalAdminDecoratorMapper.getDecorator(GlobalAdminDecoratorMapper.java:32) 2012-08-17 10:51:09.903433500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecoratorFromPluginMappers(PluginDecoratorMapper.java:94) 2012-08-17 10:51:09.903439500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:32) 2012-08-17 10:51:09.903440500 at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45) 2012-08-17 10:51:09.903441500 at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41) 2012-08-17 10:51:09.903448500 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:57) 2012-08-17 10:51:09.903449500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903453500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903454500 at com.atlassian.bamboo.ww2.ValidActionContextMarker.doFilter(ValidActionContextMarker.java:37) 2012-08-17 10:51:09.903455500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903456500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903459500 at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88) 2012-08-17 10:51:09.903460500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903460500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903461500 at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:30) 2012-08-17 10:51:09.903464500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903465500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903465500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.903469500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.903470500 at com.atlassian.studio.common.appstatus.AppStatusServletFilter.doFilter(AppStatusServletFilter.java:61) 2012-08-17 10:51:09.903471500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.903473500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.903474500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.903475500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.903478500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903478500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903479500 at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:66) 2012-08-17 10:51:09.903480500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903484500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903485500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) 2012-08-17 10:51:09.903486500 at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 2012-08-17 10:51:09.903488500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.903490500 at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:71) 2012-08-17 10:51:09.903491500 at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) 2012-08-17 10:51:09.903492500 at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) 2012-08-17 10:51:09.903493500 at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) 2012-08-17 10:51:09.903495500 at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) 2012-08-17 10:51:09.903496500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903503500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903505500 at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:73) 2012-08-17 10:51:09.903505500 at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) 2012-08-17 10:51:09.903506500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903509500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903510500 at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:71) 2012-08-17 10:51:09.903511500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903512500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903515500 at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211) 2012-08-17 10:51:09.903516500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903517500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903520500 at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150) 2012-08-17 10:51:09.903521500 at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:34) 2012-08-17 10:51:09.903522500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903523500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903526500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.903527500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.903528500 at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71) 2012-08-17 10:51:09.903529500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.903532500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.903533500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) 2012-08-17 10:51:09.903534500 at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:98) 2012-08-17 10:51:09.903538500 at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 2012-08-17 10:51:09.903539500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 2012-08-17 10:51:09.903540500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.903543500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.903544500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903545500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903547500 at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) 2012-08-17 10:51:09.903549500 at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:31) 2012-08-17 10:51:09.903550500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.903554500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903555500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903556500 at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:75) 2012-08-17 10:51:09.903557500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903562500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903563500 at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:31) 2012-08-17 10:51:09.903564500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903565500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903568500 at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) 2012-08-17 10:51:09.903569500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) 2012-08-17 10:51:09.903573500 at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) 2012-08-17 10:51:09.903574500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903575500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903577500 at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) 2012-08-17 10:51:09.903579500 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 2012-08-17 10:51:09.903580500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903581500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903583500 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) 2012-08-17 10:51:09.903584500 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 2012-08-17 10:51:09.903585500 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 2012-08-17 10:51:09.903586500 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 2012-08-17 10:51:09.903591500 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 2012-08-17 10:51:09.903592500 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) 2012-08-17 10:51:09.903593500 at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) 2012-08-17 10:51:09.903594500 at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) 2012-08-17 10:51:09.903596500 at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) 2012-08-17 10:51:09.903597500 at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) 2012-08-17 10:51:09.903598500 at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) 2012-08-17 10:51:09.903599500 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) 2012-08-17 10:51:09.903601500 at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 5 years ago | Bas Jansen
    java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String 2012-08-17 10:51:09.903430500 at com.atlassian.studio.bamboo.topnav.DecoratorHelper.getDecoratorName(DecoratorHelper.java:34) 2012-08-17 10:51:09.903431500 at com.atlassian.studio.bamboo.globaladmin.GlobalAdminDecoratorMapper.getDecorator(GlobalAdminDecoratorMapper.java:32) 2012-08-17 10:51:09.903433500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecoratorFromPluginMappers(PluginDecoratorMapper.java:94) 2012-08-17 10:51:09.903439500 at com.atlassian.bamboo.plugin.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:32) 2012-08-17 10:51:09.903440500 at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45) 2012-08-17 10:51:09.903441500 at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41) 2012-08-17 10:51:09.903448500 at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:57) 2012-08-17 10:51:09.903449500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903453500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903454500 at com.atlassian.bamboo.ww2.ValidActionContextMarker.doFilter(ValidActionContextMarker.java:37) 2012-08-17 10:51:09.903455500 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 2012-08-17 10:51:09.903456500 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 2012-08-17 10:51:09.903459500 at com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:88)

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.mchange.v2.c3p0.impl.NewProxyPreparedStatement cannot be cast to java.sql.CallableStatement

      at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract()
    2. Hibernate
      ResultSetReturnImpl.extract
      1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:75)
      1 frame
    3. org.hibernate.loader
      AbstractLoadPlanBasedCollectionInitializer.initialize
      1. org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.getResultSet(AbstractLoadPlanBasedLoader.java:449)
      2. org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeQueryStatement(AbstractLoadPlanBasedLoader.java:202)
      3. org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:137)
      4. org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader.executeLoad(AbstractLoadPlanBasedLoader.java:102)
      5. org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer.initialize(AbstractLoadPlanBasedCollectionInitializer.java:100)
      5 frames
    4. Hibernate
      CriteriaImpl.list
      1. org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:693)
      2. org.hibernate.event.internal.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:92)
      3. org.hibernate.internal.SessionImpl.initializeCollection(SessionImpl.java:1933)
      4. org.hibernate.collection.internal.AbstractPersistentCollection.forceInitialization(AbstractPersistentCollection.java:683)
      5. org.hibernate.engine.internal.StatefulPersistenceContext.initializeNonLazyCollections(StatefulPersistenceContext.java:894)
      6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:360)
      7. org.hibernate.loader.Loader.doList(Loader.java:2554)
      8. org.hibernate.loader.Loader.doList(Loader.java:2540)
      9. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370)
      10. org.hibernate.loader.Loader.list(Loader.java:2365)
      11. org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:126)
      12. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1718)
      13. org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:380)
      13 frames
    5. de.repl.prl
      InquiryDAO.find
      1. de.repl.prl.service.impl.db.dao.InquiryDAO.find(InquiryDAO.java:81)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor930.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      3 frames
    8. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      2. org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
      3. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      3 frames
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      2 frames
    10. Unknown
      $Proxy388.find
      1. $Proxy388.find(Unknown Source)
      1 frame
    11. de.repl.prl
      PrlService.searchInquiry
      1. de.repl.prl.service.impl.PrlService.searchInquiry(PrlService.java:201)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor929.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    13. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      3 frames
    14. Spring Context
      RemoteInvocationTraceInterceptor.invoke
      1. org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:78)
      1 frame
    15. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      2 frames
    16. Unknown
      $Proxy393.searchInquiry
      1. $Proxy393.searchInquiry(Unknown Source)
      1 frame
    17. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor928.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    18. Spring Context
      RemoteInvocationBasedExporter.invokeAndCreateResult
      1. org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:212)
      2. org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:39)
      3. org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)
      4. org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114)
      4 frames
    19. Spring
      HttpInvokerServiceExporter.handleRequest
      1. org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:74)
      1 frame
    20. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:51)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
      5. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
      5 frames
    21. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
      1 frame
    22. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
      1 frame
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    25. de.repl.alert
      ExceptionFilter.doFilter
      1. de.repl.alert.monitor.ExceptionFilter.doFilter(ExceptionFilter.java:92)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      1 frame