java.lang.IndexOutOfBoundsException

Index: 0, Size: 0

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6951

  • Index: 0, Size: 0
  • Index: 0, Size: 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.zkoss.zss.model.impl.sys.formula.ParsingBook.getAnyExternalSheet(ParsingBook.java:183) at org.zkoss.zss.model.impl.sys.formula.ParsingBook.getExternalSheet(ParsingBook.java:189) at org.zkoss.zss.model.impl.sys.formula.EvalBook.getExternalSheet(EvalBook.java:134) at org.zkoss.poi.ss.formula.OperationEvaluationContext.createExternSheetRefEvaluator(OperationEvaluationContext.java:81) at org.zkoss.poi.ss.formula.OperationEvaluationContext.getRef3DEval(OperationEvaluationContext.java:266) at org.zkoss.poi.ss.formula.WorkbookEvaluator.getEvalForPtg(WorkbookEvaluator.java:716) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:581) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:941) at org.zkoss.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:862) at org.zkoss.zss.model.impl.sys.formula.FormulaEngineImpl.evaluateFormula(FormulaEngineImpl.java:389) at org.zkoss.zss.model.impl.sys.formula.FormulaEngineImpl.evaluate(FormulaEngineImpl.java:349) at org.zkoss.zss.model.impl.chart.SeriesImpl.evalFormula(SeriesImpl.java:78) at org.zkoss.zss.model.impl.chart.SeriesImpl.getNumOfValue(SeriesImpl.java:125) at org.zkoss.zssex.util.ChartHelper.preparePieModel(ChartHelper.java:379) at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:142) at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:121) at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:46) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:411) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidgetGroup(DefaultBookWidgetLoader.java:404) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:172) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:82) at org.zkoss.zss.ui.Spreadsheet.afterSheetSelected(Spreadsheet.java:4269) at org.zkoss.zss.ui.Spreadsheet.getSelectedSSheet(Spreadsheet.java:809) at org.zkoss.zss.ui.Spreadsheet.doInvalidate(Spreadsheet.java:4400) at org.zkoss.zss.ui.Spreadsheet.invalidate(Spreadsheet.java:3774) at org.zkoss.zss.ui.Spreadsheet.setSBook(Spreadsheet.java:634) at org.zkoss.zss.ui.Spreadsheet.setBook(Spreadsheet.java:5100) at org.zkoss.zss.benchmark.SharedBookComposer.doAfterCompose(SharedBookComposer.java:26) at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:578) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:880) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:826) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:735) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:797) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:757) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:699) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:442) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:356) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 5 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    239 more bugmates