net.sf.jasperreports.engine.JRException: java.lang.ClassCastException: org.jfree.chart.plot.CategoryPlot cannot be cast to org.jfree.chart.plot.XYPlot

jfree.org | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    www.jfree.org • View topic - How do I display a trendline in a stacked bar chart

    jfree.org | 4 months ago
    net.sf.jasperreports.engine.JRException: java.lang.ClassCastException: org.jfree.chart.plot.CategoryPlot cannot be cast to org.jfree.chart.plot.XYPlot

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.jfree.chart.plot.CategoryPlot cannot be cast to org.jfree.chart.plot.XYPlot

      at com.oriel.BillingSummaryModifier3.customize()
    2. com.oriel
      BillingSummaryModifier3.customize
      1. com.oriel.BillingSummaryModifier3.customize(BillingSummaryModifier3.java:12)
      1 frame
    3. JasperReports
      JRFillChart.evaluateChart
      1. net.sf.jasperreports.engine.fill.JRFillChart.evaluateChart(JRFillChart.java:861)
      1 frame