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 27438 - Exception when turning on the editor module
Summary: Exception when turning on the editor module
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-19 10:29 UTC by Miloslav Metelka
Modified: 2003-03-28 09:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2002-09-19 10:29:30 UTC
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]
Comment 1 _ pkuzel 2003-02-03 10:48:50 UTC
Fixed by removing factory and ModuleInstaller.restore() code and
replacing it by layer registration and Lookup.
Comment 2 pfelenda 2003-03-28 09:35:10 UTC
Verified in dev 200303270100.