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 210656 - Assert after move of a X.java file and undo
Summary: Assert after move of a X.java file and undo
Status: RESOLVED DUPLICATE of bug 210655
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 01:29 UTC by MackSix
Modified: 2012-05-23 12:29 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177814


Attachments
stacktrace (4.85 KB, text/plain)
2012-04-04 01:29 UTC, MackSix
Details
Project that exhibits the problem. (87.00 KB, application/zip)
2012-04-04 01:35 UTC, MackSix
Details
stacktrace (4.91 KB, text/plain)
2012-04-16 10:44 UTC, MackSix
Details
stacktrace (4.89 KB, text/plain)
2012-05-08 18:44 UTC, luislobo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2012-04-04 01:29:48 UTC
Build: NetBeans IDE Dev (Build 201204030400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows Vista

User Comments:
MackSix: 1.) Moved JFrame.java form from one package to another. 2.) Clicked Undo Button.
This AssertionError was thrown.




Stacktrace: 
java.lang.AssertionError: FileObject for C:\Users\Mark\Documents\NetBeansProjects\Internationalization\src\internationalization\NewJFrame.java not found.
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.handleMoveCopy(BaseFileObj.java:350)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:301)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.move(BaseFileObj.java:277)
   at org.openide.loaders.FileEntry.move(FileEntry.java:116)
   at org.openide.loaders.MultiDataObject.handleMove(MultiDataObject.java:729)
   at org.openide.loaders.DataObject$2Op.run(DataObject.java:744)
Comment 1 MackSix 2012-04-04 01:29:50 UTC
Created attachment 117765 [details]
stacktrace
Comment 2 MackSix 2012-04-04 01:35:38 UTC
Created attachment 117766 [details]
Project that exhibits the problem.

1.) Open Project in NetBeans.
2.) Move NewJFrame.java file to "newpackage" package.
3.) Click Undo Button on Toolbar.

This AssertionError is thrown.

Product Version: NetBeans IDE Dev (Build 201204030400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 3 MackSix 2012-04-04 01:52:38 UTC
In Comment 2 step #2, choose refactoring when moving file.
Comment 4 MackSix 2012-04-16 10:44:24 UTC
Created attachment 118316 [details]
stacktrace

Undo a moved JFrame with Internationalization.
Comment 5 luislobo 2012-05-08 18:44:52 UTC
Created attachment 119174 [details]
stacktrace

drag and dropping from one folder to other in Projects. From FCNavigationBar/assets, selected all .less, dropped to less folder
Comment 6 Jaroslav Tulach 2012-05-23 12:29:08 UTC

*** This bug has been marked as a duplicate of bug 210655 ***