cancel
Showing results for 
Search instead for 
Did you mean: 

Open Crystal Report in PDF

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

ted_ueda
Employee
Employee
0 Kudos

That's not Crystal. That's your web app server trying to load the Java JVM AWT library, and crashing when it can't.

Sincerely,

Ted Ueda

Adam_Stone
Active Contributor
0 Kudos

What version of the product are you using? Have you tried the later patches for it? Have you narrowed this down to only when choosing PDF as the format?