更新jor后统计图功能出错
操作过程如下:双击图表,选择数据集,选择显示数据
exception occurred during event dispatching:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at jatools.component.chart.chart.Dataset.minY(Dataset.java:700)
at jatools.component.chart.chart.Axis.getMinValsFromData(Axis.java:1334)
at jatools.component.chart.chart.Axis.linearScale(Axis.java:1536)
at jatools.component.chart.chart.Axis.scale(Axis.java:1705)
at jatools.component.chart.chart.Axis.draw(Axis.java:375)
at jatools.component.chart.chart.BarChart.drawGraph(BarChart.java:86)
at jatools.component.chart.chart._Chart.paint(_Chart.java:762)
at jatools.component.chart.ChartCanvas.paintComponent(ChartCanvas.java:34)
at jatools.component.painter.ChartPainter.paintComponent(ChartPainter.java:48)
at jatools.component.painter.SimplePainter.paint(SimplePainter.java:100)
at jatools.component.painter.SimplePainter.paintChild(SimplePainter.java:69)
at jatools.component.painter.SimplePainter.paintChildren(SimplePainter.java:61)
at jatools.component.painter.SimplePainter.paint(SimplePainter.java:101)
at jatools.component.painter.SimplePainter.paintChild(SimplePainter.java:69)
at jatools.component.painter.SimplePainter.paintChildren(SimplePainter.java:61)
at jatools.component.painter.SimplePainter.paint(SimplePainter.java:101)
at jatools.designer.layer.painter.ComponentPaintLayer.paint(ComponentPaintLayer.java:79)
at jatools.designer.layer.painter.TopmostPaintLayer.paintComponent(TopmostPaintLayer.java:57)
at javax.swing.JComponent.paint(JComponent.java:1006)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintChildren(JComponent.java:843)
at javax.swing.JComponent.paint(JComponent.java:1015)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925)
at javax.swing.JComponent._paintImmediately(JComponent.java:4868)
at javax.swing.JComponent.paintImmediately(JComponent.java:4675)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:563)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:561)
at jatools.designer.componenteditor.ChartEditor.show(ChartEditor.java:61)
at jatools.designer.layer.dbclick.DoubleClickLayer.tryWake(DoubleClickLayer.java:64)
at jatools.designer.layer.LayerContainer.doWake(LayerContainer.java:459)
at jatools.designer.layer.LayerContainer.mouseDoublePressed(LayerContainer.java:435)
at jatools.designer.layer.LayerContainer._processMouseEvent(LayerContainer.java:260)
at jatools.designer.layer.LayerContainer.processMouseEvent(LayerContainer.java:344)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)