Author Message
NLiyana012024
Joined: Feb 2, 2021
Messages: 3
Offline
I am trying to open a project that was build with DD 5.1.17.02. I copied over Eclipse from an old machine to win 10 and its failing to start up. Eclips prompts to select the workspace and then gives this following error. Spent sometime googling but nothing helped so far. Any ideas?

eclipse.buildId=M20100211-1343
java.version=1.8.0_301
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 4 0 2022-10-18 16:42:45.669
!MESSAGE Application error
!STACK 1
java.lang.ExceptionInInitializerError
at com.ibm.icu.text.Collator.<clinit>(Collator.java:946)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.initialize(IDEWorkbenchAdvisor.java:206)
at org.eclipse.ui.application.WorkbenchAdvisor.internalBasicInitialize(WorkbenchAdvisor.java:188)
at org.eclipse.ui.internal.Workbench$26.runWithException(Workbench.java:1351)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
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:191)
at com.ibm.icu.impl.ICUDebug.getInstanceLenient(ICUDebug.java:65)
at com.ibm.icu.impl.ICUDebug.<clinit>(ICUDebug.java:69)
... 28 more
NLiyana012024
Joined: Feb 2, 2021
Messages: 3
Offline
I was able to figure it out. I change the java version on my machine to 1.7 and then it worked,
massimo__croci
Joined: Jan 31, 2020
Messages: 518
Offline
Hi Nilashee, thanks for sharing the resolution.

That is a Java issue, I found these posts for additional details (in case somebody needs):

https://stackoverflow.com/questions/64040255/invalid-version-number-version-number-may-be-negative-or-greater-than-255

https://academy.jahia.com/training-kb/knowledge-base/invalid-version-number-version-number-may-be-negative-or-greater-than-255

It seems the problem is caused by an old 'icu4j.jar'. There is a bug in an old ICU version that stops ICU from working when using a Java version 1.8.0 higher than 255 (ex. JDK 1.8.0_261). Maybe your Java 1.8.0 has been recently upgraded to a version greater than 255, leading to that well known bug in the library icu4J (cf internal ticket QA-13064).

Solution: There are several workarounds in the above posts (including dirty hacks). The fastest one is downgrading the Java version to a release lower than 1.8.0_255 (ex. OpenJDK from 1.8.0_261 to 1.8.0_252).

Note: Java/JDK/JRE version 1.8.0_x == Java/JDK/JRE version 1.8.0.x
Go to:   
Mobile view