-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8.0-HF40, 6.0-HF31, 7.10-HF14, 8.4-SNAPSHOT
-
Fix Version/s: 5.8.0-HF41, 6.0-HF32, 7.10-HF16, 8.10
-
Component/s: nuxeoctl start/stop/admin
NXP-20189 introduces a regression in the way the Java version is checked. Now version like 1.8.0_72-internal are not supported any more, because of the -internal suffix.
Same problem with the -ea (early access) suffix
Startup fails with the following error:
ERROR [localhost-startStop-1] [org.nuxeo.runtime.model.impl.ComponentManagerImpl] Failed to register component: service:org.nuxeo.runtime.management.ServerLocator (java.lang.NumberFormatException: For input string: "72-internal") java.lang.NumberFormatException: For input string: "72-internal" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at org.nuxeo.launcher.config.ConfigurationGenerator.checkJavaVersion(ConfigurationGenerator.java:1291) at org.nuxeo.launcher.config.ConfigurationGenerator.checkJavaVersion(ConfigurationGenerator.java:1322)