Skip to Content
0

Crystal export exception using SDK

Mar 01, 2017 at 08:08 AM

52

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers