Jasper component

One Star

Jasper component

Hi,
I am new to jasper. when i am using tJasperOutput i am getting following error. This one is coming only when i try to create charts. i use iReport to create JRXML. when i use iReports i am getting perfect out out. but when i use the same jrxml in talend i getting following errors. i am using csv files as a source to jrxmls.

Exception in component tJasperOutput_7
java.lang.IllegalArgumentException: Null 'key' argument.
at org.jfree.data.DefaultKeyedValues.setValue(DefaultKeyedValues.java:234)
at org.jfree.data.general.DefaultPieDataset.setValue(DefaultPieDataset.java:199)
at net.sf.jasperreports.charts.fill.JRFillPieDataset.customIncrement(JRFillPieDataset.java:159)
at net.sf.jasperreports.engine.fill.JRFillElementDataset.increment(JRFillElementDataset.java:179)
at net.sf.jasperreports.engine.fill.JRCalculator.calculateVariables(JRCalculator.java:152)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:682)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:255)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:888)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:810)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517)

can any body help on this....

source db : CSV files
TOS : 3.1.2
iReport :3.5.3
thanks in advance...
One Star

Re: Jasper component

I can't be sure, but I believe it's a compatibility issue of iReport v3.5.3. I think so because iReport v3.5.3 is a fresh release and it's not supported by other Jasper products yet (like JasperServer). To be more precise, the latest release of JasperServer has the same chart problem with iReport v3.5.3
I'd suggest using iReport v3.5.0 or v3.5.1
HTH
One Star

Re: Jasper component

Hi,
Any one tried charts with tJasperOutput? when i tried to implement chats i am getting errors.
java.lang.IllegalArgumentException: Null 'key' argument.
at org.jfree.data.DefaultKeyedValues.setValue(DefaultKeyedValues.java:234)
at org.jfree.data.general.DefaultPieDataset.setValue(DefaultPieDataset.java:199)
at net.sf.jasperreports.charts.fill.JRFillPieDataset.customIncrement(JRFillPieDataset.java:159)
at net.sf.jasperreports.engine.fill.JRFillElementDataset.increment(JRFillElementDataset.java:179)
at net.sf.jasperreports.engine.fill.JRCalculator.calculateVariables(JRCalculator.java:152)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:682)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:255)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:113)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:888)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:810)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517)

even i degrade my version of iReports also getting same error.