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.

Bug 270631

Summary: UnsupportedOperationException: not running in regular module system, cannot restart
Product: platform Reporter: homberghp
Component: Module SystemAssignee: Tomas Hurka <thurka>
Status: NEW ---    
Severity: normal CC: m1k0, mkroll
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226428
Attachments: stacktrace

Description homberghp 2017-05-13 12:04:36 UTC
Build: NetBeans IDE Dev (Build 201705130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 9-ea+162, Java(TM) SE Runtime Environment, 9-ea+162
OS: Linux

User Comments:
GUEST: .

GUEST: restarting

mkroll: I have change the look and feel to Nimbus.
After that I clicke the Notification to restart the IDE.

GUEST: Changed theme from dark metal to gtk and clicked on the "restart netbeans" notification.

GUEST: Trying to restart after changing options

GUEST: Trying to change the look and feel of Netbens and then Crash.

homberghp: Changed from GTK to Nimbus LAF, and automatically restarted

GUEST: click bubble to resart




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.core.windows.options.LafPanel$4.mouseClicked(LafPanel.java:341)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
Comment 1 homberghp 2017-05-13 12:04:38 UTC
Created attachment 164312 [details]
stacktrace