Skip to Content
0
Former Member
Feb 03, 2009 at 01:25 PM

Excel export problem

67 Views

Hi!!

I have the following error while exporting to Excel using Java. I am creating .rpt files using Eclipse 4.1 and crystal reports plugins. From eclipse I can export to excel file successfully. When I am exporting from java the error occurs.

caused by

com.businessobjects.reports.sdk.d: Export format is not supported or not recognized

at com.businessobjects.reports.sdk.b.b.int(Unknown Source)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)

at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)

at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)

at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source).

My code snippet is:

PrintOutputController lpoc = reportClientDoc.getPrintOutputController();

InputStream lis = lpoc.export(ReportExportFormat.from_int(ReportExportFormat._MSExcel));

If anyone has an idea on this please help me.

regards,

Maddy