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.
1) Open properties file 2) On locale node choose Add property 3) the IllegalStateExcpetion is shown (see attachment)
Created attachment 22311 [details] IllegalStateException
I am not able to reproduce it. Could you please provide a more subtle description of the steps to reproduce? For example, I do not understand what exactly you mean with "Open preperties file". Do you mean "double-click on the node" or "right-click on the node and choose 'Open'" or just "expand the node"? Does the node contain just one locale node or multiple locale nodes? Thanks.
I've into it too in 4.2 dev build 20050830. I think it's RANDOM bug, I've got it by several ways but I wasn't able to reproduce it. I can provide exact step whai I did, but they are probably useless. 1) create new property file 2) add locale cs_CZ 3) select locale node in explorer 4) customize locale 5) add new key -> ISE in the console Right after deleting the locale node I've got it again, but I am not able to reporoduce it any more. I am attaching also stacktrace bacause it is slightly different from that which was attached originally to this issue.
Created attachment 24356 [details] IllegalStateException
This IllegalStateException is thrown under various conditions: - as described in this issue - as described in issue #47273 (after deleting a locale) - as described in issue #54238 - after saving a properties file The illegal PropertyChangeEvents are fired for the following properties: "valid" "modified"
*** Issue 47273 has been marked as a duplicate of this issue. ***
*** Issue 54238 has been marked as a duplicate of this issue. ***
I have reproduced this, seems to be random. Happened when editing main.class item inside project's properties file. Old TM, changing to TBD. ------------- NetBeans IDE Dev (Build 200604131800) 1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b76 SunOS version 5.10 running on sparc en (nb); ISO646-US
This happens frequently in NB 6.0 dev.
*** Issue 61101 has been marked as a duplicate of this issue. ***
*** Issue 79338 has been marked as a duplicate of this issue. ***
*** Issue 79090 has been marked as a duplicate of this issue. ***
*** Issue 81041 has been marked as a duplicate of this issue. ***
Someone should finally fix it. Cannot be applied the similar fix as for the issue 42158?
*** Issue 86729 has been marked as a duplicate of this issue. ***
*** Issue 81832 has been marked as a duplicate of this issue. ***
Stop firing change events for properties not present in the node. Checking in FileEntryNode.java; /shared/data/ccvs/repository/properties/src/org/netbeans/modules/properties/FileEntryNode.java,v <-- FileEntryNode.java new revision: 1.25; previous revision: 1.24
*** Issue 115822 has been marked as a duplicate of this issue. ***