java.lang.IndexOutOfBoundsException

ZK-Tracker | roliroli | 3 years ago
  1. 0

    1. rename sheet "row" to "." 2. rename sheet to "a" 3. rename sheet to "b" then cause IndexOutofBoundsException Note: This will cause spreadsheet shutdown. If you do more sheet operation after this exception. {code} java.lang.IndexOutOfBoundsException at org.apache.xmlbeans.impl.store.Xobj.removeElement(Xobj.java:2188) at org.apache.xmlbeans.impl.store.Xobj.remove_element(Xobj.java:2218) at org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTStrRefImpl.unsetStrCache(Unknown Source) at org.zkoss.poi.xssf.usermodel.charts.XSSFChartTextSource.renameSheet(XSSFChartTextSource.java:58) at org.zkoss.poi.xssf.usermodel.XSSFChart.renameSheet(XSSFChart.java:454) at org.zkoss.poi.xssf.usermodel.XSSFChart.renameSheet(XSSFChart.java:421) at org.zkoss.poi.xssf.usermodel.XSSFChartX.renameSheet1(XSSFChartX.java:78) at org.zkoss.poi.xssf.usermodel.XSSFChartX.renameSheet(XSSFChartX.java:74) at org.zkoss.zssex.model.impl.SheetCtrlImpl.whenRenameSheet(SheetCtrlImpl.java:29) at org.zkoss.zss.model.sys.impl.XSSFSheetImpl.whenRenameSheet(XSSFSheetImpl.java:1270) at org.zkoss.zss.model.sys.impl.XSSFBookImpl.setSheetName(XSSFBookImpl.java:258) at org.zkoss.zss.model.sys.impl.XRangeImpl.setSheetName(XRangeImpl.java:2763) at org.zkoss.zss.api.impl.RangeImpl.setSheetName(RangeImpl.java:642) at org.zkoss.zss.api.impl.Issue400Test.testZSS482(Issue400Test.java:1217) at org.zkoss.zss.api.impl.Issue400Test.testZSS482(Issue400Test.java:1211) 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:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) {code}

    ZK-Tracker | 3 years ago | roliroli
    java.lang.IndexOutOfBoundsException
  2. 0

    1. rename sheet "row" to "." 2. rename sheet to "a" 3. rename sheet to "b" then cause IndexOutofBoundsException Note: This will cause spreadsheet shutdown. If you do more sheet operation after this exception. {code} java.lang.IndexOutOfBoundsException at org.apache.xmlbeans.impl.store.Xobj.removeElement(Xobj.java:2188) at org.apache.xmlbeans.impl.store.Xobj.remove_element(Xobj.java:2218) at org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTStrRefImpl.unsetStrCache(Unknown Source) at org.zkoss.poi.xssf.usermodel.charts.XSSFChartTextSource.renameSheet(XSSFChartTextSource.java:58) at org.zkoss.poi.xssf.usermodel.XSSFChart.renameSheet(XSSFChart.java:454) at org.zkoss.poi.xssf.usermodel.XSSFChart.renameSheet(XSSFChart.java:421) at org.zkoss.poi.xssf.usermodel.XSSFChartX.renameSheet1(XSSFChartX.java:78) at org.zkoss.poi.xssf.usermodel.XSSFChartX.renameSheet(XSSFChartX.java:74) at org.zkoss.zssex.model.impl.SheetCtrlImpl.whenRenameSheet(SheetCtrlImpl.java:29) at org.zkoss.zss.model.sys.impl.XSSFSheetImpl.whenRenameSheet(XSSFSheetImpl.java:1270) at org.zkoss.zss.model.sys.impl.XSSFBookImpl.setSheetName(XSSFBookImpl.java:258) at org.zkoss.zss.model.sys.impl.XRangeImpl.setSheetName(XRangeImpl.java:2763) at org.zkoss.zss.api.impl.RangeImpl.setSheetName(RangeImpl.java:642) at org.zkoss.zss.api.impl.Issue400Test.testZSS482(Issue400Test.java:1217) at org.zkoss.zss.api.impl.Issue400Test.testZSS482(Issue400Test.java:1211) 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:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) {code}

    ZK-Tracker | 3 years ago | roliroli
    java.lang.IndexOutOfBoundsException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Remove images in .docx file

    Stack Overflow | 2 years ago | Sherin
    java.lang.IndexOutOfBoundsException

    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

      No message provided

      at org.apache.xmlbeans.impl.store.Xobj.removeElement()
    2. XmlBeans
      Xobj.remove_element
      1. org.apache.xmlbeans.impl.store.Xobj.removeElement(Xobj.java:2188)
      2. org.apache.xmlbeans.impl.store.Xobj.remove_element(Xobj.java:2218)
      2 frames
    3. Apache POI
      CTStrRefImpl.unsetStrCache
      1. org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTStrRefImpl.unsetStrCache(Unknown Source)
      1 frame
    4. org.zkoss.poi
      XSSFChartX.renameSheet
      1. org.zkoss.poi.xssf.usermodel.charts.XSSFChartTextSource.renameSheet(XSSFChartTextSource.java:58)
      2. org.zkoss.poi.xssf.usermodel.XSSFChart.renameSheet(XSSFChart.java:454)
      3. org.zkoss.poi.xssf.usermodel.XSSFChart.renameSheet(XSSFChart.java:421)
      4. org.zkoss.poi.xssf.usermodel.XSSFChartX.renameSheet1(XSSFChartX.java:78)
      5. org.zkoss.poi.xssf.usermodel.XSSFChartX.renameSheet(XSSFChartX.java:74)
      5 frames
    5. org.zkoss.zssex
      SheetCtrlImpl.whenRenameSheet
      1. org.zkoss.zssex.model.impl.SheetCtrlImpl.whenRenameSheet(SheetCtrlImpl.java:29)
      1 frame
    6. org.zkoss.zss
      Issue400Test.testZSS482
      1. org.zkoss.zss.model.sys.impl.XSSFSheetImpl.whenRenameSheet(XSSFSheetImpl.java:1270)
      2. org.zkoss.zss.model.sys.impl.XSSFBookImpl.setSheetName(XSSFBookImpl.java:258)
      3. org.zkoss.zss.model.sys.impl.XRangeImpl.setSheetName(XRangeImpl.java:2763)
      4. org.zkoss.zss.api.impl.RangeImpl.setSheetName(RangeImpl.java:642)
      5. org.zkoss.zss.api.impl.Issue400Test.testZSS482(Issue400Test.java:1217)
      6. org.zkoss.zss.api.impl.Issue400Test.testZSS482(Issue400Test.java:1211)
      6 frames
    7. 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:597)
      4 frames
    8. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      15. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      16. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      16 frames
    9. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    10. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames