Getting ConcurrentModificationException when previewing report

I'm working on a template where, after adding a chart customizer class, which only changes the stroke type on the grid lines to solid, I've started getting a ConcurrentModificationException.  I'm fairly certain this isn't possible, because I'm the only developer on my project and the only person using the system.  I have nothing else running in my application while I'm testing my templates.  And the other odd thing is that while the Preview pane in iReport 4.5.1. still shows my document, despite the error, the PDF generated is 0 bytes.  So it seems that something in writing the PDF is where the exception is being triggered, though I have no idea what to look for.  Some times shutting down iReport, deleting the associated .pdf and .jasper files, and starting the preview process over again will work.  Though it seems to happen more frequently now.  iReport already takes really long to start up the first time, and having to restart it repeatedly to get around this issue is proving cumbersome.

Does anyone have ideas on where to start looking to get this resolved?

Here's the full text of the exception:

Exporting PDF (using iText) to file... C:\Users\sferguson\Documents\FMS\Releases\12_4\FMS\iReport\reports\06 - Positive Model Predictors.pdf!
Error exporting print... null
    at java.util.AbstractList$Itr.checkForComodification(Unknown Source) 
    at java.util.AbstractList$ Source) 
    at org.jfree.chart.block.BlockContainer.draw( 
    at org.jfree.chart.title.LegendTitle.draw( 
    at org.jfree.chart.JFreeChart.drawTitle( 
    at org.jfree.chart.JFreeChart.draw( 
    at org.jfree.chart.JFreeChart.draw( 
    at net.sf.jasperreports.charts.util.DrawChartRenderer.render( 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportImage( 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements( 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage( 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream( 
    at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport( 
    at org.openide.util.RequestProcessor$ 
    at org.openide.util.RequestProcessor$ 
Export running time: 331
sfergus1's picture
Joined: Nov 22 2012 - 8:46am
Last seen: 10 years 5 months ago

0 Answers:

No answers yet