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 - When refactor moving f.ex. a JPanel that uses, a runtime error occurs
Summary: When refactor moving f.ex. a JPanel that uses, a runtime er...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2012-04-26 10:29 UTC by borre
Modified: 2013-01-28 17:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description borre 2012-04-26 10:29:37 UTC
When refactor moving f.ex. a JPanel, a 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 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