Jump to content
Changes to the Jaspersoft community edition download ×

JRBaseFiller: error cleaning up virtualizer

Recommended Posts

By: frblusso - frblusso

JRBaseFiller: error cleaning up virtualizer

2006-02-17 08:19


I use jasperreports1.2.0 in a websphere 5 environnment, in a web application. i've made some load test to simulate 10 users that generates together on report of about 80 pages and i have the exception below


JRBaseFiller (cleanup, 313 ) - Error cleaning up virtualizer.

java.lang.NullPointerException at net.sf.jasperreports.engine.fill.JRFileVirtualizer.makeFilename(JRFileVirtualizer.java:221)

at net.sf.jasperreports.engine.fill.JRFileVirtualizer.fileDispose(JRFileVirtualizer.java:283)

at net.sf.jasperreports.engine.fill.JRFileVirtualizer.cleanup(JRFileVirtualizer.java:310)

at net.sf.jasperreports.engine.fill.JRFileVirtualizer.finalize(JRFileVirtualizer.java:215)

at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)

at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)

at java.lang.ref.Finalizer.access$100(Finalizer.java:14)

at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)


here is the code i use

virtualizer = new JRFileVirtualizer(5,temp_dir);

parameters.put(JRParameter.REPORT_VIRTUALIZER, virtualizer);

JasperPrint jasperPrint = JasperFillManager.fillReport(name, parameters, dataSource);


output = JasperExportManager.exportReportToPdf(jasperPrint);



If I test with only one user, there is no such problem. do you have an idea to correct it?








By: Lucian Chirita - lucianc

RE: JRBaseFiller: error cleaning up virtualiz

2006-02-21 02:05



The cause of the error was a small bug in JRFileVirtualizer.deregisterObject(JRVirtualizable).


A fix has been commited on CVS.


To patch the 1.2.0 JRFileVirtualizer, change lines 155-156 to

if (old != null && old != o) {

pagedOut.put(uid, old);


Thank you,


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...