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 258070 - IllegalStateException at org.netbeans.modules.properties.PropertiesStructure.getParent
Summary: IllegalStateException at org.netbeans.modules.properties.PropertiesStructure....
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-19 21:59 UTC by aquaglia
Modified: 2016-10-26 19:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219455


Attachments
stacktrace (3.27 KB, text/plain)
2016-02-19 21:59 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aquaglia 2016-02-19 21:59:07 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b27
OS: Mac OS X

User Comments:
GUEST: I' have realized the problem just later. So I cannot provide detailed description, sorry.

GUEST: I moved a .properties file (resource bundle) from a package to its super-package. I used mouse (drag and drop) in Projects window. The error occurred as soon as I dropped the file.

aquaglia: I am developeing a java maven web app but I did not notice when this exception exactly popped up.




Stacktrace: 
java.lang.IllegalStateException
   at org.netbeans.modules.properties.PropertiesStructure.getParent(PropertiesStructure.java:149)
   at org.netbeans.modules.properties.PropertiesStructure.getParentBundleStructure(PropertiesStructure.java:157)
   at org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren.mySetKeys(PropertiesFileEntry.java:461)
   at org.netbeans.modules.properties.PropertiesFileEntry$PropKeysChildren.addNotify(PropertiesFileEntry.java:481)
   at org.openide.nodes.Children.callAddNotify(Children.java:575)
   at org.openide.nodes.EntrySupportDefault.getArray(EntrySupportDefault.java:650)
Comment 1 aquaglia 2016-02-19 21:59:09 UTC
Created attachment 158577 [details]
stacktrace