on 2023 Jan 19 8:27 PM
Hi,
I am using JDK 17 to generate Crystal Reports. Below is the Code. But I am getting an Exception mentioned below. The code is working fine with JDK 1.8 but not working with JDK 17. Please let me know what is the Issue. I'll make sure to provide reward points for any productive help.
Code
paramFieldController.setCurrentValue("", "customsql", customStr);
ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream) oReportClientDocument
.getPrintOutputController().export(ReportExportFormat.PDF);
Exception
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Index -1 out of bounds for length 0---- Error code:-2147467259 Error code name:failed
Request clarification before answering.
User | Count |
---|---|
60 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.