[#12816] - Bar Chart throwing error if more than 7 category series are defined

Category:
Bug report
Priority:
Urgent
Status:
Confirmed
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

net.sf.jasperreports.engine.JRException: java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
at com.jaspersoft.studio.editor.preview.view.control.ReportController.fillReport(ReportController.java:551)
at com.jaspersoft.studio.editor.preview.view.control.ReportController.access$18(ReportController.java:526)
at com.jaspersoft.studio.editor.preview.view.control.ReportController$1.run(ReportController.java:444)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.IndexOutOfBoundsException: Index: 7, Size: 7
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at net.sf.jasperreports.chartthemes.spring.EyeCandySixtiesChartTheme.createBarChart(EyeCandySixtiesChartTheme.java:295)
at net.sf.jasperreports.chartthemes.spring.GenericChartTheme.createChart(GenericChartTheme.java:287)
at net.sf.jasperreports.engine.fill.JRFillChart.evaluateChart(JRFillChart.java:845)
at net.sf.jasperreports.engine.fill.JRFillChart.evaluateRenderer(JRFillChart.java:798)
at net.sf.jasperreports.engine.fill.JRFillChart.resolveElement(JRFillChart.java:1406)
at net.sf.jasperreports.engine.fill.JRFillElement.performDelayedEvaluation(JRFillElement.java:1136)
at net.sf.jasperreports.engine.fill.JRFillElement.resolveElement(JRFillElement.java:1238)
at net.sf.jasperreports.engine.fill.ElementEvaluationAction.execute(ElementEvaluationAction.java:69)
at net.sf.jasperreports.engine.fill.DelayedFillActions.runActions(DelayedFillActions.java:271)
at net.sf.jasperreports.engine.fill.BaseReportFiller.resolveBoundElements(BaseReportFiller.java:807)
at net.sf.jasperreports.engine.fill.JRBaseFiller.resolveReportBoundElements(JRBaseFiller.java:1202)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:1223)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:297)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:117)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:615)
at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:135)
at java.lang.Thread.run(Thread.java:748)

praveen.pi's picture
Joined: Aug 6 2019 - 3:09am
Last seen: 4 weeks 1 day ago

6 Comments:

#1
  • Assigned:nobody» ameyers@tibco.com
#2
AttachmentSize
Binary Data blank_a4_24.jrxml8.9 KB
#3

Just noticed this is happening only for eye.candy.sixties theme

#4
  • Status:New» Confirmed
  • Assigned:ameyers@tibco.com» mrabbi
#5
  • Assigned:mrabbi» shertage

Moved the bug to the JR project library. They need to fix the ChartThemes part.

Regards,
Massimo.

#6

Thank You for the response Massimo.

Regards,
Praveen.Pi

Feedback
randomness