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.
Steps: 1) Turn the editor module off in the tools->options (accept other modules turned off too). 2) Turn the editor module on -> the exception below will be shown. Installing new module: Editor Installing new module: Resource Bundle Syntax Coloring INFORMATIONAL *********** Exception occurred ************ at Thu Sep 19 10:36:20 CEST 2002 java.lang.SecurityException: Too late! at org.netbeans.modules.properties.TableViewSettingsFactory.setTableViewSettings(TableViewSettingsFactory.java:106) [catch] at org.netbeans.modules.properties.syntax.EditorSettingsCopy.installSettings(EditorSettingsCopy.java:247) at org.netbeans.modules.properties.syntax.RestoreColoring.restored(RestoreColoring.java:50) at org.openide.modules.ModuleInstall.installed(ModuleInstall.java:68) at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:338) at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:250) at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:773) at org.netbeans.core.ui.ModuleBean$AllModulesBean.doEnable(ModuleBean.java:705) at org.netbeans.core.ui.ModuleBean$AllModulesBean.access$1100(ModuleBean.java:272) at org.netbeans.core.ui.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:536) at org.openide.util.Mutex.writeAccess(Mutex.java:328) at org.netbeans.core.ui.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:465) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599) Turning on modules: org.netbeans.modules.editor/1 [1.11 ${buildnumber}] org.netbeans.modules.properties.syntax/1 [1.9 200208191120]
Fixed by removing factory and ModuleInstaller.restore() code and replacing it by layer registration and Lookup.
Verified in dev 200303270100.