Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2031

Gradle ries to parse the version String as number "13-ea"

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 11.0
    • 11.0
    • projects - Gradle

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lkishalmi Laszlo Kishalmi
            palman Rami Swailem
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment