java.lang.ClassCastException: org.jfree.chart.plot.XYPlot cannot be cast to org.jfree.chart.plot.CategoryPlot

jaspersoft.com | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Bar Chart - Gap between Bars | Jaspersoft Community

    jaspersoft.com | 7 months ago
    java.lang.ClassCastException: org.jfree.chart.plot.XYPlot cannot be cast to org.jfree.chart.plot.CategoryPlot
  2. 0

    Javaの道>掲示板(jfreechartのコンパイルエラー)

    javaroad.jp | 7 months ago
    java.lang.ClassCastException: org.jfree.chart.plot.Pi ePlot cannot be cast to org.jfree.chart.plot.CategoryPlot

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at org.jfree.chart.JFreeChart.getCategoryPlot()
    2. jfreechart
      JFreeChart.getCategoryPlot
      1. org.jfree.chart.JFreeChart.getCategoryPlot(JFreeChart.java:830)
      1 frame
    3. Unknown
      CustomizeBarChart1.customize
      1. CustomizeBarChart1.customize(CustomizeBarChart1.java:12)
      1 frame
    4. JasperReports
      JasperFillManager.fillReport
      1. net.sf.jasperreports.engine.fill.JRFillChart.evaluateChart(JRFillChart.java:1345)
      2. net.sf.jasperreports.engine.fill.JRFillChart.evaluateRenderer(JRFillChart.java:1305)
      3. net.sf.jasperreports.engine.fill.JRFillChart.evaluate(JRFillChart.java:1294)
      4. net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:258)
      5. net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:499)
      6. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummaryNoLastFooterSamePage(JRVerticalFiller.java:1065)
      7. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:1030)
      8. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:300)
      9. net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:134)
      10. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:942)
      11. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)
      12. net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)
      13. net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
      14. net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
      14 frames
    5. com.jaspersoft.ireport
      IReportCompiler.run
      1. com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:877)
      1 frame
    6. org.openide.util
      RequestProcessor$Processor.run
      1. org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
      2. org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
      2 frames