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 129923

Summary: Not possible to open editor for properties file
Product: utilities Reporter: Jana Maleckova <janie>
Component: PropertiesAssignee: Vitezslav Stejskal <vstejskal>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: 129923

Description Jana Maleckova 2008-03-12 15:43:45 UTC
Product Version: NetBeans IDE Dev (Build 200803111205)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
===========
create simple j2se project
1. create new properties file using New File Wizard
2. select properties file in project window and invoke Open action from contextual menu = > NPE is thrown

StackTrace:
===========
java.lang.NullPointerException
	at org.netbeans.modules.properties.syntax.EditorSettingsCopy.updateColors(EditorSettingsCopy.java:292)
	at org.netbeans.modules.properties.syntax.EditorSettingsCopy.updateSettings(EditorSettingsCopy.java:276)
	at org.netbeans.modules.properties.syntax.EditorSettingsCopy.prepareSettings(EditorSettingsCopy.java:261)
	at org.netbeans.modules.properties.syntax.EditorSettingsCopy.getKeyStrokesFindNext(EditorSettingsCopy.java:196)
	at org.netbeans.modules.properties.TableViewSettings$DelegatingSettings.getKeyStrokesFindNext(TableViewSettings.java:197)
	at org.netbeans.modules.properties.FindPerformer.registerKeyStrokes(FindPerformer.java:223)
Comment 1 Jana Maleckova 2008-03-12 15:48:37 UTC
Created attachment 58243 [details]
129923
Comment 2 Jana Maleckova 2008-03-12 15:50:57 UTC
This issue seems to be like some regression between build 200803110005 and 200803111205
Comment 3 Vitezslav Stejskal 2008-03-12 17:24:48 UTC
It's probably related to my recent changes in settings. I'm investigating.
Comment 4 Vitezslav Stejskal 2008-03-12 17:44:00 UTC
Should be fixed now. Please double check in a dev build.
http://hg.netbeans.org/main/rev/55c1eca0b21a
Comment 5 Marian Petras 2008-03-12 18:02:43 UTC
It seems to be working fine. Thanks.
Comment 6 Jana Maleckova 2008-03-13 09:51:40 UTC
*** Issue 129981 has been marked as a duplicate of this issue. ***
Comment 7 Jana Maleckova 2008-03-13 12:06:48 UTC
verified on
Product Version: NetBeans IDE Dev (Build 200803130007)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)