Skip to Content
0
Former Member
Feb 13, 2011 at 04:30 PM

Open Crystal Report in PDF

34 Views

Hi

If I open the Crystal Report in PDF using the below code using weblogic 8.1

ReportExportControl exportControl = new ReportExportControl();

Object reportSource = session.getAttribute("reportSource");

exportControl.setReportSource(reportSource);

ExportOptions exportOptions = new ExportOptions();

exportControl.setExportOptions(exportOptions);

exportControl.setExportAsAttachment(true);

exportControl.setOwnForm(true);

exportControl.setOwnPage(true);

exportOptions.setExportFormatType(ReportExportFormat.PDF);

I get the following error and the server shuts down.

An unexpected error has been detected by HotSpot Virtual Machine:

#

  1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x060d9bea, pid=604, tid=1392

#

  1. Java VM: Java HotSpot(TM) Client VM (1.4.2_13-b06 mixed mode)

  2. Problematic frame:

  3. C [awt.dll+0x69bea]

Please help on this issue

Regards

kaspick