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.
[20040718] I have encountered the problem working with a servlet in a web project. According to the stacktrace it seems the problem not directly connected to webapps. Someone from VCS - please evaluate. to reproduce: 1) have a versioned web project 2) create a servlet -> add & commit it 3) rename it 4) wait for deployment descriptor synchronization dialog -> confitm changes 5) wait for the refactoring dialog - do refactoring => an annotation is shown saying: The file WebApplication1/src/servlets/Test.java does not exist as a local copy. Check it out first. I do not see any real impact - it seems to be rather a cosmetic issue. The whole stacktrace is attached.
Created attachment 16322 [details] The annotation stacktrace
The original file is presented as a virtual node after rename. The FileObject representing this node is set to be "virtual". Java should not try to parse the virtual file objects, because the source does not exist and it will get IOException.
Fixed. Checking in javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v <-- RepositoryUpdater.java new revision: 1.13; previous revision: 1.12 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/java/JavaNode.java; /cvs/java/src/org/netbeans/modules/java/JavaNode.java,v <-- JavaNode.java new revision: 1.109; previous revision: 1.108 done
Reorganization of java component