java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

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

,

Thrown if trying to access an index which is out of bounds on objects like String, Array, or Vector. Any negative integer less than or equal to -1 and positive integer greater than or equal to the size of the object is an index which would be out of bounds

,
Expert tip

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.

Solutions on the web

via ZK-Tracker by henrichen, 1 year ago
Index: 0, Size: 0
via ZK-Tracker by henrichen, 1 year ago
Index: 0, Size: 0
via couchbase.com by Unknown author, 2 years ago
via GitHub by BroBeans
, 2 years ago
via Eclipse Bugzilla by tomasz.zarna, 1 year ago
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.(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)

Users with the same issue

Once, 1 week ago
4 times, 1 week ago
17 times, 3 weeks ago
Once, 3 weeks ago
2 times, 1 month ago

Write tip

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