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 30217 - Exception while adding property to properties file
Summary: Exception while adding property to properties file
Status: VERIFIED DUPLICATE of bug 29541
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: PC All
: P4 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-20 10:09 UTC by pfelenda
Modified: 2003-03-24 18:26 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 pfelenda 2003-01-20 10:09:29 UTC
Steps to reproduce:
===============
- Create new properties file ( this step opens
file in table view in editor window)
- Set keys sorting to unsorted ( 2x click on head
of table )
- Add key + value to properties file
-> Exception is appeared


Exception :
=========
java.lang.NullPointerException
	at
org.netbeans.modules.properties.BundleStructure$KeyComparator.compare(BundleStructure.java:374)
	at java.util.Arrays.mergeSort(Arrays.java:1237)
	at java.util.Arrays.sort(Arrays.java:1185)
	at java.util.Collections.sort(Collections.java:151)
	at
org.netbeans.modules.properties.BundleStructure.buildKeySet(BundleStructure.java:261)
...
Comment 1 pfelenda 2003-01-20 10:10:20 UTC
Sorry version is -> 4.0 dev
Comment 2 _ pkuzel 2003-02-03 10:41:02 UTC

*** This issue has been marked as a duplicate of 29541 ***
Comment 3 pfelenda 2003-03-24 18:26:36 UTC
Verified this issue is duplicate of 29541.