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 211775

Summary: When refactor moving f.ex. a JPanel that uses Bundle.properties, a runtime error occurs
Product: guibuilder Reporter: borre
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal CC: MackSix
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description borre 2012-04-26 10:29:37 UTC
When refactor moving f.ex. a JPanel, a Bundle.properties file should be created beneath src/main/resources (if it does not already exist) and it's content should be filled/updated with the relevant information from the previous location. The "old" bundle file should also be updated or deleted if neccesary. 
Such a refactor operation today results in a Bundle.properties file beeing created, but it is empty and in the same folder as the java file - which causes a runtime Exception to occur. The "old" bundle file is left untouched.

Product Version = NetBeans IDE 7.1 (Build 201112071828)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_26
Runtime = Java HotSpot(TM) Client VM 20.1-b02
Comment 1 Marian Mirilovic 2012-04-26 11:50:40 UTC
From ER field : Refactor move does not move bundle file correctly