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 - Not possible to open editor for properties file
Summary: Not possible to open editor for properties file
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 129981 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-12 15:43 UTC by Jana Maleckova
Modified: 2008-03-13 12:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
129923 (3.96 KB, text/plain)
2008-03-12 15:48 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
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)