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

Summary: IllegalStateException at org.netbeans.modules.properties.PropertiesStructure.getParent
Product: utilities Reporter: aquaglia <aquaglia>
Component: PropertiesAssignee: Jan Peska <JPESKA>
Status: NEW ---    
Severity: normal CC: Zolcsi
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219455
Attachments: stacktrace

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