java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection

MuleSoft JIRA | Todd Wells | 8 years ago
  1. 0

    We have an artifact in a deep workspace path -- we added the artifact successfully, but it doesn't show anything (at all) if you browse to that workspace. However if you use the search dialog to search for the artifact, it shows up. This is a serious bug from our perspective. I noticed this log entry around the same time, unsure if it's related: {quote} INFO | jvm 1 | 2008/08/20 14:13:55 | WARN 2008-08-20 14:13:55,758 [btpool0-3] org.gwtwidgets.server.spring.GWTRPCServiceExporter: java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2008/08/20 14:13:55 | 2008-08-20 14:13:55.326:/galaxy:WARN: Exception while dispatching incoming RPC call INFO | jvm 1 | 2008/08/20 14:13:55 | java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/08/20 14:13:55 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/08/20 14:13:55 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/08/20 14:13:55 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/08/20 14:13:55 | Caused by: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection INFO | jvm 1 | 2008/08/20 14:13:55 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/08/20 14:13:55 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/08/20 14:13:55 | ... 57 more INFO | jvm 1 | 2008/08/20 14:13:55 | Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection INFO | jvm 1 | 2008/08/20 14:13:55 | at ASMAccessorImpl_3239982591219256477730.getValue(Unknown Source) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.MVELRuntime.execute(MVELRuntime.java:90) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.CompiledExpression.getValue(CompiledExpression.java:111) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.MVEL.executeExpression(MVEL.java:287) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.impl.render.MvelColumn.getValue(MvelColumn.java:24) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362) INFO | jvm 1 | 2008/08/20 14:13:55 | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) INFO | jvm 1 | 2008/08/20 14:13:55 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/08/20 14:13:55 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/08/20 14:13:55 | ... 57 more {quote}

    MuleSoft JIRA | 8 years ago | Todd Wells
    java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
  2. 0

    We have an artifact in a deep workspace path -- we added the artifact successfully, but it doesn't show anything (at all) if you browse to that workspace. However if you use the search dialog to search for the artifact, it shows up. This is a serious bug from our perspective. I noticed this log entry around the same time, unsure if it's related: {quote} INFO | jvm 1 | 2008/08/20 14:13:55 | WARN 2008-08-20 14:13:55,758 [btpool0-3] org.gwtwidgets.server.spring.GWTRPCServiceExporter: java.lang.reflect.InvocationTargetException INFO | jvm 1 | 2008/08/20 14:13:55 | 2008-08-20 14:13:55.326:/galaxy:WARN: Exception while dispatching incoming RPC call INFO | jvm 1 | 2008/08/20 14:13:55 | java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/08/20 14:13:55 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/08/20 14:13:55 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/08/20 14:13:55 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/08/20 14:13:55 | Caused by: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection INFO | jvm 1 | 2008/08/20 14:13:55 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/08/20 14:13:55 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/08/20 14:13:55 | ... 57 more INFO | jvm 1 | 2008/08/20 14:13:55 | Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection INFO | jvm 1 | 2008/08/20 14:13:55 | at ASMAccessorImpl_3239982591219256477730.getValue(Unknown Source) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.MVELRuntime.execute(MVELRuntime.java:90) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.CompiledExpression.getValue(CompiledExpression.java:111) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mvel.MVEL.executeExpression(MVEL.java:287) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.impl.render.MvelColumn.getValue(MvelColumn.java:24) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362) INFO | jvm 1 | 2008/08/20 14:13:55 | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) INFO | jvm 1 | 2008/08/20 14:13:55 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/08/20 14:13:55 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/08/20 14:13:55 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/08/20 14:13:55 | ... 57 more {quote}

    MuleSoft JIRA | 8 years ago | Todd Wells
    java.lang.RuntimeException: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.mule.galaxy.web.rpc.WSearchResults org.mule.galaxy.web.rpc.RegistryService.getArtifacts(java.lang.String,java.lang.String,boolean,java.util.Set,java.util.Set,java.lang.String,int,int) throws org.mule.galaxy.web.client.RPCException' threw an unexpected exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
  3. 0

    Serialization issu

    GitHub | 3 years ago | ydeshayes
    play.api.Application$$anon$1: Execution exception[[ClassCastException: java.lang.String cannot be cast to java.util.Collection]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    find with DBQuery.is() fails for collection fields with ClassCastException

    GitHub | 2 months ago | ractive
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
  6. 0

    Allow single "aud" in JWT without need for JSON array format?

    GitHub | 1 year ago | sdoxsee
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.util.Collection

      at ASMAccessorImpl_3239982591219256477730.getValue()
    2. Unknown
      ASMAccessorImpl_3239982591219256477730.getValue
      1. ASMAccessorImpl_3239982591219256477730.getValue(Unknown Source)
      1 frame
    3. org.mvel
      MVEL.executeExpression
      1. org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174)
      2. org.mvel.MVELRuntime.execute(MVELRuntime.java:90)
      3. org.mvel.CompiledExpression.getValue(CompiledExpression.java:111)
      4. org.mvel.MVEL.executeExpression(MVEL.java:287)
      4 frames
    4. org.mule.galaxy
      RegistryServiceImpl.getArtifacts
      1. org.mule.galaxy.impl.render.MvelColumn.getValue(MvelColumn.java:24)
      2. org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72)
      3. org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460)
      4. org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448)
      5. org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426)
      6. org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362)
      6 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. SL for GWT
      GWTRPCServiceExporter.processCall
      1. org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127)
      1 frame
    7. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      RemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187)
      1 frame
    8. SL for GWT
      GWTRPCServiceExporter.handleRequest
      1. org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168)
      1 frame
    9. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
      2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
      3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
      4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
      5. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
      5 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    11. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
      2 frames
    12. org.mule.galaxy
      ContextPathSaverFilter.doFilter
      1. org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49)
      1 frame
    13. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    14. org.springmodules.jcr
      OpenSessionInViewFilter.doFilterInternal
      1. org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93)
      1 frame
    15. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      1 frame
    16. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    17. Acegi Security Core
      FilterToBeanProxy.doFilter
      1. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
      2. org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
      3. org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
      4. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      5. org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
      6. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      7. org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
      8. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      9. org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      10. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      11. org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      12. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      13. org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
      14. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      15. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
      16. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      17. org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      18. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      19. org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
      20. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      21. org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      22. org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
      23. org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
      24. org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
      24 frames
    18. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    19. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame