cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Reports, Version for Eclipse, exception in mutli threaded environment

Former Member
0 Kudos

I have a multi threaded Java Spring boot application, in which Crystal Report for Eclipse is used to generate PDF from IXMLDataset.

Application configurations:

Crystal Reports Runtime Implementation-Version: 12.2.210.1215

Java JDK. 1.8 (also tested with JDK 1.6)

O/S: Windows 7

Symptoms:

The application works fine under single threaded environment. but exceptions are always thrown under multi threaded environment, especially during the first PDF is being generated (error logs are shown at the bottom).

From http://userguide.icu-project.org/collation/architecture I found that ICU Collator isn't thread-safe.

Questions:

Is there any solution or sample code to fix this multi-threaded exception? Thanks.

Best Regards,

Jeff

Error logs ([t4] means Thread-4, [t1] means Thread-1):

23-Jun-2017 17:43:55,069 [t4] ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter - detected an exception: -1 at com.ibm.icu.text.RuleBasedCollator.append(RuleBasedCollator.java:3492) at com.ibm.icu.text.RuleBasedCollator.doPrimaryCompare(RuleBasedCollator.java:3270) at com.ibm.icu.text.RuleBasedCollator.compareRegular(RuleBasedCollator.java:2299) at com.ibm.icu.text.RuleBasedCollator.compare(RuleBasedCollator.java:1287)

23-Jun-2017 17:43:55,069 [t1] ERROR com.businessobjects.reports.sdk.JRCCommunicationAdapter - detected an exception: -2 at com.ibm.icu.text.RuleBasedCollator.endPrimaryCompare(RuleBasedCollator.java:3356) at com.ibm.icu.text.RuleBasedCollator.doPrimaryCompare(RuleBasedCollator.java:3314) at com.ibm.icu.text.RuleBasedCollator.compareRegular(RuleBasedCollator.java:2299) at com.ibm.icu.text.RuleBasedCollator.compare(RuleBasedCollator.java:1287)

Accepted Solutions (0)

Answers (0)