Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use with Java runtime with minor version > 255 (e.g. openjdk 8u265) #3

Open
srstsavage opened this issue Nov 11, 2020 · 0 comments

Comments

@srstsavage
Copy link

Due to this icu bug, this lib currently can't be used with Java runtimes with a minor verison >255, such as openjsk 8u256.

Caused by: java.lang.IllegalArgumentException: Invalid version number: Version number may be negative or greater than 255
at com.ibm.icu.util.VersionInfo.getInstance(VersionInfo.java:188)
at com.ibm.icu.impl.ICUDebug.getInstanceLenient(ICUDebug.java:65)
at com.ibm.icu.impl.ICUDebug.<clinit>(ICUDebug.java:69)

The icu lib is a transitive dependency of com.googlecode.foresite-toolkit:foresite:1.0-SNAPSHOT

[INFO] \- com.googlecode.foresite-toolkit:foresite:jar:1.0-SNAPSHOT:compile
[INFO]    +- com.hp.hpl.jena:jena:jar:2.5.5:compile
[INFO]    |  +- com.hp.hpl.jena:arq:jar:2.2:compile
[INFO]    |  |  \- org.apache.lucene:lucene-core:jar:2.2.0:compile
[INFO]    |  +- com.hp.hpl.jena:arq-extra:jar:2.2:compile
[INFO]    |  |  \- com.hp.hpl.jena:jenatest:jar:2.5.5:compile
[INFO]    |  +- com.hp.hpl.jena:iri:jar:0.5:compile
[INFO]    |  +- antlr:antlr:jar:2.7.5:compile
[INFO]    |  +- com.hp.hpl.jena:concurrent-jena:jar:1.3.2:compile
[INFO]    |  +- com.ibm.icu:icu4j:jar:3.4.4:compile
[INFO]    |  +- com.hp.hpl.jena:json-jena:jar:1.0:compile
[INFO]    |  +- stax:stax-api:jar:1.0:compile
[INFO]    |  +- org.codehaus.woodstox:wstx-asl:jar:3.0.0:compile
[INFO]    |  +- xerces:xercesImpl:jar:2.7.1:compile
[INFO]    |  \- xerces:xmlParserAPIs:jar:2.0.2:compile

icu bug is fixed in 68.1, but the version included here is com.ibm.icu:icu4j:jar:3.4.4 from around 2006.

Also, the dependency on the foresite jar is worrying since it's a SNAPSHOT version and the project appears to no longer be maintained. The org.codehaus.woodstox:wstx-asl:jar:3.0.0 dependency also contains an invalid pom (mismatched groupId) which causes errors with some dependency managers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant