Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [birt-dev] Regarding BIRT issue " java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255"

Hi Aditya,

Thank you for the comprehensive bug analysis.
Yes, the limitation to 255 seems to be a part of the contract for VersionInfo class from IBM ICU library https://github.com/unicode-org/icu/blob/main/icu4j/main/classes/core/src/com/ibm/icu/util/VersionInfo.java

Unfortunately the implementation of com.ibm.icu library is out of the BIRT project scope, so the bug should be filed for https://unicode-org.atlassian.net/projects/ICU as mentioned at https://github.com/unicode-org/icu

The workaround could be to try another implementation of JDK8 , for example https://adoptopenjdk.net/?variant=openjdk8

Regards,
AF

7/13/2021 9:44 AM, Aditya Raj via birt-dev пишет:

Hi Alexander/Team,

 

Please check this link

https://bugs.eclipse.org/bugs/show_bug.cgi?id=573664

 

As I mentioned that till java version 8.0.6.10 , birt report viewer working fine.

Whenever we upgraded java to 8.0.6.15 then error occurred as mentioned ,

After Then for testing purpose we further upgraded java to 8.0.6.20  & then 8.0.6.25  and 8.0.6.30 as well.

But birt-viewer not working, throwing the same exception as shown.

 

Currently we are using java 8.0.6.30 and same issue occuring which reported on java version 8.0.6.15.

 

Moreover we check the icu4j standard library , and also found similar issue reported in icu4j.jar

But they fixed in version icu4j.java(version 68) as communicated by icu4j support.

 

As I checked , com.ibm.icu*.jar  getting used in birt viewer module.
So I believe this issue related with compatibilty of java and com.ibm.icu*.jar 
 

java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255

 
This error occurring from VersionInfo.class (com.ibm.icu*.jar) where condition is implemented to check java minor version which harcoded as 255. 
And as we know
 8.0.6.15 having minor version 261 ,
 8.0.6.20  having minor version 271,
8.0.6.25 having minor version 281  &
 8.0.6.30  having minor version 291
 
all greater than 255 minor version which hardcoded in VersionInfo.class that is reason for this issue.
 
So can you please implement that code of VersionInfo.class in such a way that it could handle java minor which greater than 255( instead of less than or till 255).
 
Hope this explanation provides you better clarity to understand the issue.
 
Please try to resolve this issue as soon as possible. We blocked due to this issue.
Hope you understand and try to resolve it. 
 
 
Thanks in Advance !! 
 
 
Regards,
Aditya Raj
 

 

 

 

From: birt-dev <birt-dev-bounces@xxxxxxxxxxx> On Behalf Of Alexander Fedorov
Sent: 12 July 2021 18:30
To: birt-dev@xxxxxxxxxxx
Subject: Re: [birt-dev] Regarding BIRT issue " java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255"

 

** This mail has been sent from an external source **

 

Hi,

Could it be a JVM-specific issue? Do you have similar problem with OpenJDK?
```

SRVE0283E: Exception caught while initializing context: java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.ensureError(J9VMInternals.java:147)
at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:136)
at com.ibm.icu.impl.ICUResourceBundle.<clinit>(ICUResourceBundle.java:922)

```

If the problem is JVM-specific please add this info to the bugzilla.

Regards,
AF

7/12/2021 3:20 PM, Aditya Raj via birt-dev пишет:

Hi Team,

 

Please look into this issue.

 java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255

 

As on Eclipse community , I have posted this query but did not get response by anyone.

Also raised a bug Bug 573664  But still did not get any response yet.

Please prioritize this issue and let us know how to resolve it.

For more details about my  query , please check below references links.

 

References links : (please respond)

https://www.eclipse.org/forums/index.php/t/1108005/

https://bugs.eclipse.org/bugs/show_bug.cgi?id=573664

 

(Please respond. We are blocked for some activity due to  it.)

 

 

Thanks

Aditya Raj

 

=====================================================
Please refer to https://northamerica.altran.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.



_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/birt-dev

 

=====================================================
Please refer to https://northamerica.altran.com/email-disclaimer
for important disclosures regarding this electronic communication.
=====================================================

_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/birt-dev


Back to the top