[ 
https://issues.apache.org/jira/browse/NETBEANS-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Vanelverdinghe closed NETBEANS-5418.
--------------------------------------------
    Resolution: Fixed

> Extension fails to launch with netbeans.jdkhome set to JDK 16
> -------------------------------------------------------------
>
>                 Key: NETBEANS-5418
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5418
>             Project: NetBeans
>          Issue Type: Bug
>          Components: vscode
>            Reporter: Anthony Vanelverdinghe
>            Priority: Major
>
> The stack trace is as below:
> {noformat}
> 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)
> {noformat}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to