cancel
Showing results for 
Search instead for 
Did you mean: 

[CRSDK00001144] xmlDeserializationFailed when generating Crystal Report in IBM jdk8u311-b11

former_member821202
Discoverer
0 Kudos

Test Java program: testcrystalreportjava.txt

We have a Crystal Server 2020 running in Windows Server 2019. Crystal Reports are uploaded to Crystal Server, and our application are using Java SDK to connect to Crystal Server and generate the reports.

Our application is working fine when running in Windows platform.

However, when we migrate our application to AIX server running IBM jdk8u311-b11, the following error occurs:

Sorry, cannot generate report.

Exception in thread "main" com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot open report document. --- XML deserialization failed.

cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: XML deserialization failed.---- Error code:-2147217371 [CRSDK00001144] Error code name:xmlDeserializationFailed

detail: XML deserialization failed.

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.throwSDKException(RASReportAppFactory.java:759)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(RASReportAppFactory.java:552)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(RASReportAppFactory.java:495)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(RASReportAppFactory.java:448)

at TestReport.main(TestReport.java:74)

Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: XML deserialization failed.---- Error code:-2147217371 [CRSDK00001144] Error code name:xmlDeserializationFailed

at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(ReportSDKException.java:112)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RequestHelper.getResultObject(RequestHelper.java:110)

at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.request(CECORBACommunicationAdapter.java:303)

We are testing with a very simple report that only have static text box, and no need to retrieve any data from database. And we are testing with a standalone Java application. But the same problem still occurs in IBM JDK. And then we found out that it seems to be related to a report header. If I hide the report header, it can be generated in IBM JDK as well....How can I further trouble shoot the problem? If there any debug log in Crystal Server that I can further trouble shoot? Any workaround that our application can also run in IBM JDK?

DellSC
Active Contributor

I changed the tags on your question. The "SAP Crystal Reports" tag is for questions about report design. Since Crystal Reports Server is a limited version of the BI Platform and you're interacting with it using the Java SDK, I added the "SAP BusinessObjects Business Intelligence platform" and "SAP BusinessObjects - BI Platform - SDK" tags so that it will get the attention of the folks who can help you.

-Dell Stinnett-Christy
Moderator

Accepted Solutions (0)

Answers (0)