Somehow you hold a none transient reference to an outputstream just
remove that one or make it transient

On 1/15/08, Marco Aurélio Silva <[EMAIL PROTECTED]> wrote:
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to