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

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

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

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via MuleSoft JIRA by Todd Wells, 1 year ago
,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
via MuleSoft JIRA by Todd Wells, 1 year ago
,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
via MuleSoft JIRA by Todd Wells, 1 year ago
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
via MuleSoft JIRA by Todd Wells, 1 year ago
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
via MuleSoft JIRA by Todd Wells, 1 year ago
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
via MuleSoft JIRA by Todd Wells, 1 year ago
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.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
at org.mvel.ASTNode.getReducedValueAccelerated(ASTNode.java:174)
at org.mvel.MVELRuntime.execute(MVELRuntime.java:90)
at org.mvel.CompiledExpression.getValue(CompiledExpression.java:111)
at org.mvel.MVEL.executeExpression(MVEL.java:287)
at org.mule.galaxy.impl.render.MvelColumn.getValue(MvelColumn.java:24)
at org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72)
at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460)
at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448)
at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426)
at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49)
at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.