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 105006 - Colors won't apply
Summary: Colors won't apply
Status: RESOLVED DUPLICATE of bug 93969
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 10:48 UTC by refghjk
Modified: 2007-11-05 13:45 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 refghjk 2007-05-29 10:48:06 UTC
When changing colors, colors won't apply. For example if I try to change the
color to all String variables even though I have applied, I can't see any
changes in the editor window.
Comment 1 Marian Mirilovic 2007-05-29 14:07:08 UTC
I am sorry, but we need more informations from you .. in this case NB
version/build number, JDK you are running on.

BTW: please read http://qa.netbeans.org/bugzilla/reportbug.html
Comment 2 Vitezslav Stejskal 2007-05-30 01:53:29 UTC
Does closing/reopening the file help? If not, does restarting the IDE help?
Comment 3 gregorytechsoft 2007-05-31 03:31:49 UTC
I cannot be sure from the original description, but I think this has something 
to do with a bug I am seeing in Dev 6.0 M9.

I created a new Fonts/Colors editor profile called "Dark Angel" which is a 
duplicated "City Lights" profile with just a few coloration changes to my 
liking. Then, on occasion, I see this error:

java.lang.IllegalArgumentException: Invalid mimeType="FontsColors/Dark Angel"
	at org.netbeans.api.editor.mimelookup.MimePath.getEmbedded
(MimePath.java:305)
	at org.netbeans.api.editor.mimelookup.MimePath.get(MimePath.java:155)
	at org.netbeans.api.editor.mimelookup.MimePath.parseImpl
(MimePath.java:367)
	at org.netbeans.api.editor.mimelookup.MimePath.parse(MimePath.java:176)
	at org.netbeans.modules.editor.impl.KitsTracker.reload
(KitsTracker.java:166)
	at org.netbeans.modules.editor.impl.KitsTracker.getMimeTypesForKitClass
(KitsTracker.java:63)
	at 
org.netbeans.modules.editor.NbEditorSettingsInitializer.updateSettingsMap
(NbEditorSettingsInitializer.java:110)
	at org.netbeans.editor.Settings.getKitMap(Settings.java:626)
	at org.netbeans.editor.Settings.getValue(Settings.java:330)
	at org.netbeans.editor.Settings.getValue(Settings.java:314)
	at org.netbeans.editor.SettingsUtil.getInteger(SettingsUtil.java:102)
	at org.netbeans.editor.SettingsUtil.getInteger(SettingsUtil.java:108)
	at org.netbeans.editor.ext.ExtCaret.settingsChange(ExtCaret.java:156)
	at org.netbeans.editor.Settings.fireSettingsChange(Settings.java:593)
	at org.netbeans.editor.Settings.setValue(Settings.java:436)
	at org.netbeans.modules.editor.options.OptionSupport.doSetSettingValue
(OptionSupport.java:161)
	at 
org.netbeans.modules.editor.options.PropertiesMIMEOptionFile.loadSettings
(PropertiesMIMEOptionFile.java:106)
	at org.netbeans.modules.editor.options.MIMEOptionFile.loadSettings
(MIMEOptionFile.java:203)
	at org.netbeans.modules.editor.options.BaseOptions.loadSettings
(BaseOptions.java:1749)
	at org.netbeans.modules.editor.options.BaseOptions.getSettingValue
(BaseOptions.java:1833)
	at org.netbeans.modules.editor.options.OptionSupport.setSettingValue
(OptionSupport.java:143)
	at 
org.netbeans.modules.editor.options.BaseOptions.updateKeybindingsFromNewOptions
DialogAttributes(BaseOptions.java:920)
	at org.netbeans.modules.editor.options.BaseOptions.getKBList
(BaseOptions.java:819)
	at org.netbeans.modules.editor.options.BaseOptions.getKeyBindingList
(BaseOptions.java:851)
	at org.netbeans.modules.editor.options.BaseOptions.loadXMLSettings
(BaseOptions.java:1853)
	at org.netbeans.modules.editor.options.BaseOptions.updateSettingsMap
(BaseOptions.java:446)
	at 
org.netbeans.modules.editor.options.OptionSupport$SettingsInitializer.updateSet
tingsMap(OptionSupport.java:241)
	at org.netbeans.editor.Settings.getKitMap(Settings.java:626)
	at org.netbeans.editor.Settings.getValue(Settings.java:330)
	at org.netbeans.editor.Settings.getValue(Settings.java:314)
	at org.netbeans.editor.SettingsUtil.getBoolean(SettingsUtil.java:141)
	at org.netbeans.editor.SettingsUtil.getBoolean(SettingsUtil.java:147)
	at org.netbeans.editor.EditorUI.settingsChangeImpl(EditorUI.java:437)
	at org.netbeans.editor.EditorUI.settingsChange(EditorUI.java:561)
	at org.netbeans.editor.Settings.fireSettingsChange(Settings.java:593)
	at org.netbeans.editor.Settings.access$100(Settings.java:80)
	at org.netbeans.editor.Settings$1.run(Settings.java:156)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:539)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:964)
Comment 4 Vitezslav Stejskal 2007-05-31 09:04:01 UTC
The IAE is tracked as issue #103808. The problem is the space in the profile name.
Comment 5 Vitezslav Stejskal 2007-06-18 05:00:33 UTC
I assume the first part of this report (not the exception) is a duplicate of issue #93969. Please correct me if I am wrong.

*** This issue has been marked as a duplicate of 93969 ***