java.lang.IndexOutOfBoundsException

Index: 57, Size: 23

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 web6511

  • via java2s.com by Unknown author, 9 months ago
    Index: 57, Size: 23
  • Index: 23, Size: 23
  • Index: 23, Size: 23
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 57, Size: 23 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.jfree.data.time.TimeSeries.getDataItem(TimeSeries.java:317) at org.jfree.data.time.TimeSeriesCollection.getXValue(TimeSeriesCollection.java:393) at org.jfree.chart.labels.AbstractXYItemLabelGenerator.createItemArray(AbstractXYItemLabelGenerator.java:250) at org.jfree.chart.labels.AbstractXYItemLabelGenerator.generateLabelString(AbstractXYItemLabelGenerator.java:229) at org.jfree.chart.labels.StandardXYToolTipGenerator.generateToolTip(StandardXYToolTipGenerator.java:155) at org.jfree.chart.renderer.xy.AbstractXYItemRenderer.addEntity(AbstractXYItemRenderer.java:1430) at org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.drawSecondaryPass(XYLineAndShapeRenderer.java:1085) at org.jfree.chart.renderer.xy.XYLineAndShapeRenderer.drawItem(XYLineAndShapeRenderer.java:801) at org.jfree.chart.plot.XYPlot.render(XYPlot.java:2640) at org.jfree.chart.plot.XYPlot.draw(XYPlot.java:2218) at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1039) at org.jfree.chart.ChartPanel.paintComponent(ChartPanel.java:1274) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source) at javax.swing.JComponent.paintDoubleBuffered(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    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

    6 times, 15 hours ago
    9 times, 19 hours ago
    2 times, 4 days ago
    19 times, 1 week ago
    312 times, 1 week ago
    229 more bugmates