Jump to content
Changes to the Jaspersoft community edition download ×

Sub-report class loader not filled in...

2004 IR Help

Recommended Posts

By: Jason Hodge - jnthodge

Sub-report class loader not filled in...

2005-12-15 12:53

I am seeing the following error when a sub-report tries to lookup the class loader in the passed-in parameters Map:


Caused by: java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:393)

at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:398)

at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:353)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummarySamePage(JRVerticalFiller.java:792)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:726)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:260)

at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:134)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:955)

at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:783)

at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:63)

at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)

at eesoh.base.report.base.BaseJasperReport.getOutput(BaseJasperReport.java:256)

... 28 more



Any ideas on why this fails in the new version of Jasper Reports (1.0.3), but not in the old version (1.0.1)?




Jason Hodge






By: Lucian Chirita - lucianc

RE: Sub-report class loader not filled in...

2005-12-16 00:09



The REPORT_CLASS_LOADER parameter has been introduced in JR 1.0.3. This is way 1.0.1 does not fail.


As a workaround, you could use java.util.HashMap instead of java.util.Hashtable as the former supports null values.




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...