SAP Knowledge Base Article - Preview

1630158 - java.lang.ClassCastException: com.crystaldecisions.sdk.occa.report.application.ReportSource$a when exporting report using RAS

Symptom

Class Cast Exception when exporting report using RAS call reportClientDoc.getPrintOutputController().Export(...) and the returned object of type InputStream is cast to ByteArrayInputStream after upgrade to XI 3.1 Service Pack 4. The exact error is:

java.lang.ClassCastException: com.crystaldecisions.sdk.occa.report.application.ReportSource$a

Casting to ByteArrayInputStream works fine prior to SP4 and the behavior is same in JDK 1.5 and JDK 1.6


Read more...

Environment

  • Business Objects Enterprise XI 3.1 Service Pack 4
  • SAP BusinessObjects Business Intelligence platform 4.x

Product

SAP BusinessObjects Business Intelligence platform 4.1 ; SAP BusinessObjects Business Intelligence platform 4.2 ; SAP BusinessObjects Enterprise XI 3.1

Keywords

ras export class cast exception service pack 4 sp4 XI 3.1, ADAPT01580056, ADAPT01563970 , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.