Hi
I'm trying to create a PDF file with Jasper inside a page with wicket
1.2.6, but I'm getting an exception:
Root cause:
java.io.NotSerializableException:
org.apache.catalina.core.ApplicationContextFacade
.
.
Complete stack:
wicket.WicketRuntimeException: Internal error cloning object. Make
sure all dependent objects implement Serializable.
The code that is causing the Exception, is this:
JasperRunManager.runReportToPdfStream(context.getResourceAsStream("WEB-INF/reports/scanPdf/creditScanPdf.jasper"),outputStream,map,
new ScanPdf(new
ArrayList()));
I tried to put this inside a LoadableDetachableModel, but no success.
Any help is welcome!
Thank you
Marco
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]