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

Solutions on the web

via Pentaho BI Platform Tracking by Gutlez, 2 years ago
org.jfree.data.xy.XYSeriesCollection cannot be cast to org.jfree.data.xy.TableXYDataset
via Pentaho BI Platform Tracking by Gutlez, 1 year ago
org.jfree.data.xy.XYSeriesCollection cannot be cast to org.jfree.data.xy.TableXYDataset
java.lang.ClassCastException: org.jfree.data.xy.XYSeriesCollection cannot be cast to org.jfree.data.xy.TableXYDataset	at org.jfree.chart.renderer.xy.StackedXYBarRenderer.findRangeBounds(StackedXYBarRenderer.java:199)	at org.jfree.chart.plot.XYPlot.getDataRange(XYPlot.java:3904)	at org.jfree.chart.axis.NumberAxis.autoAdjustRange(NumberAxis.java:426)	at org.jfree.chart.axis.NumberAxis.configure(NumberAxis.java:409)	at org.jfree.chart.axis.Axis.setPlot(Axis.java:821)	at org.jfree.chart.plot.XYPlot.(XYPlot.java:559)	at org.pentaho.plugin.jfreereport.reportcharts.XYBarChartExpression.createStackedXYBarChart(XYBarChartExpression.java:281)	at org.pentaho.plugin.jfreereport.reportcharts.XYBarChartExpression.computeXYChart(XYBarChartExpression.java:145)	at org.pentaho.plugin.jfreereport.reportcharts.XYChartExpression.computeChart(XYChartExpression.java:645)	at org.pentaho.plugin.jfreereport.reportcharts.AbstractChartExpression.getValue(AbstractChartExpression.java:486)	at org.pentaho.reporting.engine.classic.core.function.sys.AttributeExpressionsEvaluator.evaluate(AttributeExpressionsEvaluator.java:283)	at org.pentaho.reporting.engine.classic.core.function.sys.AttributeExpressionsEvaluator.evaluateElement(AttributeExpressionsEvaluator.java:209)	at org.pentaho.reporting.engine.classic.core.function.sys.AttributeExpressionsEvaluator.processBand(AttributeExpressionsEvaluator.java:135)	at org.pentaho.reporting.engine.classic.core.function.sys.AttributeExpressionsEvaluator.processRootBand(AttributeExpressionsEvaluator.java:107)	at org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction.reportStarted(AbstractElementFormatFunction.java:188)	at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportStartedEvent(SubLayoutProcess.java:334)	at org.pentaho.reporting.engine.classic.core.states.SubLayoutProcess.fireReportEvent(SubLayoutProcess.java:233)	at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.fireReportEvent(ProcessState.java:957)	at org.pentaho.reporting.engine.classic.core.states.process.ReportHeaderHandler.advance(ReportHeaderHandler.java:47)	at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.advance(ProcessState.java:774)	at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1000)	at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.processPage(PrintReportProcessor.java:289)	at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getPageDrawable(PrintReportProcessor.java:261)	at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.updateVisiblePage(PreviewPane.java:1705)	at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$PreviewUpdateHandler.propertyChange(PreviewPane.java:368)	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)	at java.awt.Component.firePropertyChange(Unknown Source)	at javax.swing.JComponent.firePropertyChange(Unknown Source)	at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane.setPaginating(PreviewPane.java:1601)	at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$UpdatePaginatingPropertyHandler.run(PreviewPane.java:339)	at java.awt.event.InvocationEvent.dispatch(Unknown Source)	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)	at java.awt.EventDispatchThread.run(Unknown Source)