Skip to Content
avatar image
Former Member

Crystal export exception using SDK

Dear Experts,

I am trying to export crystal report instances using java crystal SDK.I am ending with the below error .

java.lang.ClassCastException: com.crystaldecisions.sdk.occa.report.lib.ByteArray cannot be cast to com.crystaldecisions.sdk.occa.report.lib.PropertyBag
at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.logon(ReportAppSession.java:357)

I have used the below java code.

java code:


IReportAppFactory reportSourceFactory = (IReportAppFactory) enterpriseSession
.getService("RASReportFactory");

ReportClientDocument clientDoc = reportSourceFactory
.openDocument(oInfoObjectInbox,
0, Locale.ENGLISH);

Please assist me if any code changes is required.

Regards,

Divi.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers