This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 201705170001) VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+169, Java(TM) SE Runtime Environment, 9-ea+169 OS: Mac OS X User Comments: lzgrillo: Error at import plugins GUEST: After starting NB under JDK 9 EA (b147), I was offered to import a couple plugins from my NB 8.2 installation. I checked "Darcula" and clicked on import. Crash. GUEST: Tried to import plugins from 8.2 instance into dev build. Aside from a couple plugins that were supported, I also checked "Darcula" and hit "Import". That's when exception occured. GUEST: During import of plugins from Netbeans 8.2 stable brettryan: Accepted an import for the h2 module. GUEST: fresh install: imported plugins from prev version, and wanted to restart. tveimo: selected some plugins to import from previous installation. failed when agreeing to restart. Stacktrace: java.lang.UnsupportedOperationException: not running in regular module system, cannot restart at org.netbeans.core.startup.ModuleLifecycleManager.markReadyForRestart(ModuleLifecycleManager.java:124) at org.netbeans.core.startup.ModuleSystem.markForRestart(ModuleSystem.java:518) at org.netbeans.core.NbLifecycleManager.markForRestart(NbLifecycleManager.java:231) at org.netbeans.modules.autoupdate.pluginimporter.PluginImporter.importPlugins(PluginImporter.java:269) at org.netbeans.modules.autoupdate.pluginimporter.ImportManager.doImport(ImportManager.java:270) at org.netbeans.modules.autoupdate.pluginimporter.ImportManager.access$200(ImportManager.java:89)
Created attachment 164343 [details] stacktrace
My bad, fresh install and forgot to update netbeans.conf, JDK 9 got picked up. That raises a query I've had for a while though, would be good to have a user netbeans.conf that could override the installed netbeans.conf.