Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
11.0
-
Product Version:Apache NetBeans IDE Dev (Build 20190131-cd48e225be0a)
Java:13-ea; OpenJDK 64-Bit Server VM 13-ea+4
Runtime:OpenJDK Runtime Environment 13-ea+4
System:Mac OS X version 10.13.6 running on x86_64; UTF-8; en_DE (nb)
User directory:/Users/rami/Library/Application Support/NetBeans/dev
Cache directory:/Users/rami/Library/Caches/NetBeans/devProduct Version:Apache NetBeans IDE Dev (Build 20190131-cd48e225be0a) Java:13-ea; OpenJDK 64-Bit Server VM 13-ea+4 Runtime:OpenJDK Runtime Environment 13-ea+4 System:Mac OS X version 10.13.6 running on x86_64; UTF-8; en_DE (nb) User directory:/Users/rami/Library/Application Support/NetBeans/dev Cache directory:/Users/rami/Library/Caches/NetBeans/dev
Description
(Gradle) Apache NetBeans IDE Dev git ID cd48e225be0a doesn't seem to work with EA versions of Java because it tries to parse the version String as number (see Caused by: java.lang.NumberFormatException: For input string: " 13-ea").
java.lang.NumberFormatException: For input string: "13-ea" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68) at java.base/java.lang.Integer.parseInt(Integer.java:658) at java.base/java.lang.Integer.parseInt(Integer.java:776) at org.netbeans.modules.gradle.GradleDistributionManager.<clinit>(GradleDistributionManager.java:83) Caused: java.lang.ExceptionInInitializerError at org.netbeans.modules.gradle.GradleDaemon$Loader.run(GradleDaemon.java:63) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to at org.openide.util.RequestProcessor.post(RequestProcessor.java:395) at org.netbeans.core.startup.NbStartStop.initialize(NbStartStop.java:64) at org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:335) at org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:77) at org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:322) at org.openide.filesystems.FileUtil$2.run(FileUtil.java:412) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:396) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:416) at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:319) at org.netbeans.ModuleManager.enable(ModuleManager.java:1449) at org.netbeans.ModuleManager.enable(ModuleManager.java:1254) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:156) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125) at org.netbeans.core.startup.Main.start(Main.java:282) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) [catch] at java.base/java.lang.Thread.run(Thread.java:835)
Attachments
Issue Links
- links to