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

Extension fails to launch with netbeans.jdkhome set to JDK 16

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • vscode
    • None

    Description

      The stack trace is as below:

      java.lang.NullPointerException: Cannot invoke "java.net.URL.toURI()" because the return value of "org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateCenterURL()" is null
      	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:165)
      	at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:120)
      	at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:150)
      	at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:118)
      	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:267)
      	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:227)
      	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:186)
      	at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:67)
      	at org.netbeans.modules.autoupdate.cli.ModuleOptions.listAllModules(ModuleOptions.java:138)
      	at org.netbeans.modules.autoupdate.cli.ModuleOptions.process(ModuleOptions.java:167)
      	at org.netbeans.spi.sendopts.Option$1.process(Option.java:362)
      	at org.netbeans.api.sendopts.CommandLine.process(CommandLine.java:336)
      	at org.netbeans.modules.sendopts.HandlerImpl.execute(HandlerImpl.java:37)
      	at org.netbeans.modules.sendopts.Handler.cli(Handler.java:44)
      	at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:209)
      	at org.netbeans.core.startup.CLICoreBridge.cli(CLICoreBridge.java:57)
      	at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:209)
      	at org.netbeans.CLIHandler$1.exec(CLIHandler.java:243)
      	at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:423)
      	at org.netbeans.MainImpl.finishInitialization(MainImpl.java:231)
      	at org.netbeans.Main.finishInitialization(Main.java:67)
      	at org.netbeans.core.startup.Main.start(Main.java:291)
      	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
      	at java.base/java.lang.Thread.run(Thread.java:831)
      

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            anthonyv.be Anthony Vanelverdinghe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: