NotSerializableException SimpleFileResolver


We are using JR 4.5 in an application deployed on Jboss 7.0 cluster. We are getting the following error: net.sf.jasperreports.engine.util.SimpleFileResolver

How can we resolve it?



recursoshumanos001's picture
Joined: Jun 21 2013 - 8:21am
Last seen: 9 years 9 months ago

1 Answer:

The SimpleFileResolver uses a java.util.List which is not serializeable. Looking at the source, I assume the simplest way to get around would be to implement your own FileResolver (implement the net.sf.jasperreports.engine.util.FileResolverInterface, copy from SimpleFileResolver and use an ArrayList instead of List)

Cheers, Thomas

Thomas Zimmer's picture
Joined: Oct 2 2012 - 1:35am
Last seen: 1 week 1 day ago

Thank you very much.

recursoshumanos001 - 9 years 9 months ago