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.
How to reproduce it: - execute any build script - move that script into different location (another folder) - try to execute that script again a you get FileNotFoundException looking for the file at old location
Fixed in the trunk: AntProjectDataObject.java 1.4 AntProjectSupport.java 1.11
*** Issue 12012 has been marked as a duplicate of this issue. ***
Milan please verify that this is fixed...
Created attachment 1673 [details] Patch to fix
FileNotFoundException is gone, but after cutting and pasting back to original location when I try execute it I get FileStateInvalidException: org.openide.loaders.DataObjectNotFoundException at org.openide.loaders.DataObject.find(DataObject.java:447) Full thread dump attached.
Created attachment 1677 [details] exception stact trace
reopenning
I believe what you see is a totally different bug; that if there is existing output from some file which has been hyperlinked in the Output Window, and you can delete or otherwise get rid of that file, at some point after that (e.g. next time you show anything in that Output tab), this exception will be shown. As far as I know it is harmless. If you agree, please mark this bug fixed again, and file a new bug for me with this stack trace (I have a fix prepared, will test soon).
Patch reviewed by Ales Kemr
Yes, it's completly different bug :-(
Verified in build 20010622.
Merged to pilsen_fcs, should be in 3.2.1 later.
Hopefully now fixed in 3.4 dev trunk as well for the case that a parent folder is renamed. Actually observed with a menu item shortcut rather than a normal script. AntProjectSupport.java 1.15