java.lang.IndexOutOfBoundsException: Index: 7, Size: 1

JIRA | Gordon Mohr | 9 years ago
  1. 0

    After verifying fix of HER-1275, tried removing the added scope rule in an override sheet. Got ugly browser exception; in console was: INFO: org.archive.settings.jmx.JMXSheetManagerImpl.remove(xavvy, root:scope:rules:7) java.lang.IndexOutOfBoundsException: Index: 7, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.remove(ArrayList.java:389) at org.archive.settings.SettingsList.remove(SettingsList.java:233) at org.archive.settings.path.PathChanger.remove(PathChanger.java:459) at org.archive.settings.jmx.JMXSheetManagerImpl.remove(JMXSheetManagerImpl.java:598) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.archive.openmbeans.annotations.Bean.invoke(Bean.java:236) at org.archive.settings.jmx.LoggingDynamicMBean.invoke(LoggingDynamicMBean.java:158) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784) at org.archive.openmbeans.annotations.BeanProxy.invoke(BeanProxy.java:87) at $Proxy11.remove(Unknown Source) at org.archive.crawler.webui.Sheets.saveSingleSheet(Sheets.java:321) at org.apache.jsp.sheets.do_005fsave_005fsingle_005fsheet_jsp._jspService(do_005fsave_005fsingle_005fsheet_jsp.java:45) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054) at org.archive.crawler.webui.AuthFilter.doFilter(AuthFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453) at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:303) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Feb 5, 2008 8:04:47 AM org.archive.settings.jmx.LoggingDynamicMBean dealWithException Clearly, it's trying to do the remove at the combined index (7), rather than the override sheet's local index (0?)

    JIRA | 9 years ago | Gordon Mohr
    java.lang.IndexOutOfBoundsException: Index: 7, Size: 1
  2. 0

    After verifying fix of HER-1275, tried removing the added scope rule in an override sheet. Got ugly browser exception; in console was: INFO: org.archive.settings.jmx.JMXSheetManagerImpl.remove(xavvy, root:scope:rules:7) java.lang.IndexOutOfBoundsException: Index: 7, Size: 1 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.remove(ArrayList.java:389) at org.archive.settings.SettingsList.remove(SettingsList.java:233) at org.archive.settings.path.PathChanger.remove(PathChanger.java:459) at org.archive.settings.jmx.JMXSheetManagerImpl.remove(JMXSheetManagerImpl.java:598) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.archive.openmbeans.annotations.Bean.invoke(Bean.java:236) at org.archive.settings.jmx.LoggingDynamicMBean.invoke(LoggingDynamicMBean.java:158) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784) at org.archive.openmbeans.annotations.BeanProxy.invoke(BeanProxy.java:87) at $Proxy11.remove(Unknown Source) at org.archive.crawler.webui.Sheets.saveSingleSheet(Sheets.java:321) at org.apache.jsp.sheets.do_005fsave_005fsingle_005fsheet_jsp._jspService(do_005fsave_005fsingle_005fsheet_jsp.java:45) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054) at org.archive.crawler.webui.AuthFilter.doFilter(AuthFilter.java:79) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453) at org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) at org.mortbay.jetty.Server.handle(Server.java:303) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) Feb 5, 2008 8:04:47 AM org.archive.settings.jmx.LoggingDynamicMBean dealWithException Clearly, it's trying to do the remove at the combined index (7), rather than the override sheet's local index (0?)

    JIRA | 9 years ago | Gordon Mohr
    java.lang.IndexOutOfBoundsException: Index: 7, Size: 1
  3. 0

    ServletException: Index: 0, Size: 0 (JSF forum at JavaRanch)

    coderanch.com | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [SAK-6692] IndexOutOfBoundsException while authoring assessment - Sakai

    sakaiproject.org | 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  6. 0

    Setup Adempiere Error or Bug ?

    adempiere | 9 years ago | nychen
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. ajinkya_w 580 times, last 2 months ago
  2. rlovtangen 2 times, last 2 months ago
  3. davidvanlaatum 1 times, last 3 months ago
  4. brunosatriani 38 times, last 5 months ago
  5. sriharshakiran 2 times, last 6 months ago
1 more registered users
5 unregistered visitors
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: 7, Size: 1

    at java.util.ArrayList.RangeCheck()
  2. Java RT
    ArrayList.remove
    1. java.util.ArrayList.RangeCheck(ArrayList.java:546)
    2. java.util.ArrayList.remove(ArrayList.java:389)
    2 frames
  3. org.archive.settings
    JMXSheetManagerImpl.remove
    1. org.archive.settings.SettingsList.remove(SettingsList.java:233)
    2. org.archive.settings.path.PathChanger.remove(PathChanger.java:459)
    3. org.archive.settings.jmx.JMXSheetManagerImpl.remove(JMXSheetManagerImpl.java:598)
    3 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  5. org.archive.openmbeans
    Bean.invoke
    1. org.archive.openmbeans.annotations.Bean.invoke(Bean.java:236)
    1 frame
  6. org.archive.settings
    LoggingDynamicMBean.invoke
    1. org.archive.settings.jmx.LoggingDynamicMBean.invoke(LoggingDynamicMBean.java:158)
    1 frame
  7. Java RT
    JmxMBeanServer.invoke
    1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    2. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    3. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    4. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    4 frames
  8. org.archive.openmbeans
    BeanProxy.invoke
    1. org.archive.openmbeans.annotations.BeanProxy.invoke(BeanProxy.java:87)
    1 frame
  9. Unknown
    $Proxy11.remove
    1. $Proxy11.remove(Unknown Source)
    1 frame
  10. org.archive.crawler
    Sheets.saveSingleSheet
    1. org.archive.crawler.webui.Sheets.saveSingleSheet(Sheets.java:321)
    1 frame
  11. org.apache.jsp
    do_005fsave_005fsingle_005fsheet_jsp._jspService
    1. org.apache.jsp.sheets.do_005fsave_005fsingle_005fsheet_jsp._jspService(do_005fsave_005fsingle_005fsheet_jsp.java:45)
    1 frame
  12. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    1 frame
  13. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
    1 frame
  14. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    3 frames
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
    1 frame
  16. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054)
    2 frames
  17. org.archive.crawler
    AuthFilter.doFilter
    1. org.archive.crawler.webui.AuthFilter.doFilter(AuthFilter.java:79)
    1 frame
  18. Jetty Server
    SocketConnector$Connection.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358)
    3. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231)
    4. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629)
    5. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453)
    6. org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
    7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
    8. org.mortbay.jetty.Server.handle(Server.java:303)
    9. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452)
    10. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:735)
    11. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:636)
    12. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
    13. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349)
    14. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
    14 frames
  19. Jetty Util
    BoundedThreadPool$PoolThread.run
    1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)
    1 frame