Skip to Content
0
Jan 31, 2022 at 07:43 AM

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

237 Views Last edit Jan 31, 2022 at 02:39 PM 3 rev

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?

Attachments