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.IndexOutOfBoundsException: Index: 0, Size: 0

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

    I've tried with both Firefox 2 and Safari and I'm unable to successfully add an artifact via the UI (although I can via Atom). Steps to reproduce: 1. Select the default workspace 2. Click Add Artifact 3. Give the artifact the name "Foo" 4. Give a version of "1" 5. Choose a random text file for the artifact 6. Click Add Expected behavior: Artifact version 1 is created Actual behavior: nothing happens, screen remains unchanged. Found this exception in the log: INFO | jvm 1 | 2008/07/25 13:24:33 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/07/25 13:24:33 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/07/25 13:24:33 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/07/25 13:24:33 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/07/25 13:24:33 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/07/25 13:24:33 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/07/25 13:24:33 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/07/25 13:24:33 | ... 57 more INFO | jvm 1 | 2008/07/25 13:24:33 | Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/07/25 13:24:33 | at java.util.ArrayList.RangeCheck(ArrayList.java:547) INFO | jvm 1 | 2008/07/25 13:24:33 | at java.util.ArrayList.get(ArrayList.java:322) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.impl.jcr.JcrArtifact.getDefaultOrLastVersion(JcrArtifact.java:206) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.impl.render.CustomArtifactRenderer$4.getValue(CustomArtifactRenderer.java:36) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362) INFO | jvm 1 | 2008/07/25 13:24:33 | at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) INFO | jvm 1 | 2008/07/25 13:24:33 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/07/25 13:24:33 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/07/25 13:24:33 | ... 57 more

    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.IndexOutOfBoundsException: Index: 0, Size: 0
  2. 0

    I've tried with both Firefox 2 and Safari and I'm unable to successfully add an artifact via the UI (although I can via Atom). Steps to reproduce: 1. Select the default workspace 2. Click Add Artifact 3. Give the artifact the name "Foo" 4. Give a version of "1" 5. Choose a random text file for the artifact 6. Click Add Expected behavior: Artifact version 1 is created Actual behavior: nothing happens, screen remains unchanged. Found this exception in the log: INFO | jvm 1 | 2008/07/25 13:24:33 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/07/25 13:24:33 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/07/25 13:24:33 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/07/25 13:24:33 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/07/25 13:24:33 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/07/25 13:24:33 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/07/25 13:24:33 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/07/25 13:24:33 | ... 57 more INFO | jvm 1 | 2008/07/25 13:24:33 | Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/07/25 13:24:33 | at java.util.ArrayList.RangeCheck(ArrayList.java:547) INFO | jvm 1 | 2008/07/25 13:24:33 | at java.util.ArrayList.get(ArrayList.java:322) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.impl.jcr.JcrArtifact.getDefaultOrLastVersion(JcrArtifact.java:206) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.impl.render.CustomArtifactRenderer$4.getValue(CustomArtifactRenderer.java:36) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362) INFO | jvm 1 | 2008/07/25 13:24:33 | at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) INFO | jvm 1 | 2008/07/25 13:24:33 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/07/25 13:24:33 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/07/25 13:24:33 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/07/25 13:24:33 | ... 57 more

    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.IndexOutOfBoundsException: Index: 0, Size: 0
  3. 0

    We've hit a serious bug where no matter how many new versions of an artifact we add, it only returns the original version. We've even deleted the artifact entirely and re-created it, and it still returns the original artifact (even when we've replaced it with a completely different file with completely different contents. This is a real showstopper for us as we now can't guarantee that we're getting the most recent artifact. I've seen the following exception in the log, but I can't promise it's related. {quote} INFO | jvm 1 | 2008/08/20 11:22:52 | 2008-08-20 11:22:52.838:/galaxy:WARN: Exception while dispatching incoming RPC call INFO | jvm 1 | 2008/08/20 11:22:52 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/08/20 11:22:52 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/08/20 11:22:52 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/08/20 11:22:52 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/08/20 11:22:52 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/08/20 11:22:52 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/08/20 11:22:52 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/08/20 11:22:52 | ... 57 more INFO | jvm 1 | 2008/08/20 11:22:52 | Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/08/20 11:22:52 | at java.util.ArrayList.RangeCheck(ArrayList.java:547) INFO | jvm 1 | 2008/08/20 11:22:52 | at java.util.ArrayList.get(ArrayList.java:322) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.impl.jcr.JcrArtifact.getDefaultOrLastVersion(JcrArtifact.java:206) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.impl.render.DefaultArtifactRenderer.getColumnValue(DefaultArtifactRenderer.java:24) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362) INFO | jvm 1 | 2008/08/20 11:22:52 | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) INFO | jvm 1 | 2008/08/20 11:22:52 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/08/20 11:22:52 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/08/20 11:22:52 | ... 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.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    We've hit a serious bug where no matter how many new versions of an artifact we add, it only returns the original version. We've even deleted the artifact entirely and re-created it, and it still returns the original artifact (even when we've replaced it with a completely different file with completely different contents. This is a real showstopper for us as we now can't guarantee that we're getting the most recent artifact. I've seen the following exception in the log, but I can't promise it's related. {quote} INFO | jvm 1 | 2008/08/20 11:22:52 | 2008-08-20 11:22:52.838:/galaxy:WARN: Exception while dispatching incoming RPC call INFO | jvm 1 | 2008/08/20 11:22:52 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:150) INFO | jvm 1 | 2008/08/20 11:22:52 | at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441) INFO | jvm 1 | 2008/08/20 11:22:52 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) INFO | jvm 1 | 2008/08/20 11:22:52 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) INFO | jvm 1 | 2008/08/20 11:22:52 | 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.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/08/20 11:22:52 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:361) INFO | jvm 1 | 2008/08/20 11:22:52 | at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:320) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:143) INFO | jvm 1 | 2008/08/20 11:22:52 | ... 57 more INFO | jvm 1 | 2008/08/20 11:22:52 | Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 INFO | jvm 1 | 2008/08/20 11:22:52 | at java.util.ArrayList.RangeCheck(ArrayList.java:547) INFO | jvm 1 | 2008/08/20 11:22:52 | at java.util.ArrayList.get(ArrayList.java:322) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.impl.jcr.JcrArtifact.getDefaultOrLastVersion(JcrArtifact.java:206) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.impl.render.DefaultArtifactRenderer.getColumnValue(DefaultArtifactRenderer.java:24) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362) INFO | jvm 1 | 2008/08/20 11:22:52 | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) INFO | jvm 1 | 2008/08/20 11:22:52 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) INFO | jvm 1 | 2008/08/20 11:22:52 | at java.lang.reflect.Method.invoke(Method.java:597) INFO | jvm 1 | 2008/08/20 11:22:52 | at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127) INFO | jvm 1 | 2008/08/20 11:22:52 | ... 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.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    [error] IndexOutOfBoundsException after clicking commandLink on IceFaces 2.0 alpha 2

    icesoft.org | 11 months ago
    javax.faces.FacesException: Unexpected error restoring state for component with id j_idt3. Cause: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0.
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.IndexOutOfBoundsException

    Index: 0, Size: 0

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.RangeCheck(ArrayList.java:547)
    2. java.util.ArrayList.get(ArrayList.java:322)
    2 frames
  3. org.mule.galaxy
    RegistryServiceImpl.getArtifacts
    1. org.mule.galaxy.impl.jcr.JcrArtifact.getDefaultOrLastVersion(JcrArtifact.java:206)
    2. org.mule.galaxy.impl.render.CustomArtifactRenderer$4.getValue(CustomArtifactRenderer.java:36)
    3. org.mule.galaxy.impl.render.CustomArtifactRenderer.getColumnValue(CustomArtifactRenderer.java:72)
    4. org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:460)
    5. org.mule.galaxy.web.server.RegistryServiceImpl.createBasicArtifactInfo(RegistryServiceImpl.java:448)
    6. org.mule.galaxy.web.server.RegistryServiceImpl.getSearchResults(RegistryServiceImpl.java:426)
    7. org.mule.galaxy.web.server.RegistryServiceImpl.getArtifacts(RegistryServiceImpl.java:362)
    7 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  5. SL for GWT
    GWTRPCServiceExporter.processCall
    1. org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:127)
    1 frame
  6. Jetty Contrib :: jetty-gwt RemoteServiceServlet
    RemoteServiceServlet.doPost
    1. com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:187)
    1 frame
  7. SL for GWT
    GWTRPCServiceExporter.handleRequest
    1. org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:168)
    1 frame
  8. 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
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  10. 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
  11. org.mule.galaxy
    ContextPathSaverFilter.doFilter
    1. org.mule.galaxy.web.ContextPathSaverFilter.doFilter(ContextPathSaverFilter.java:49)
    1 frame
  12. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  13. org.springmodules.jcr
    OpenSessionInViewFilter.doFilterInternal
    1. org.springmodules.jcr.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:93)
    1 frame
  14. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
    1 frame
  15. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    1 frame
  16. 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
  17. 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
  18. Jetty Util
    BoundedThreadPool$PoolThread.run
    1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
    1 frame