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.
This bug was originally marked as duplicate of bug 192088, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201110240600) VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08 OS: Windows Vista User Comments: MackSix: I renamed a Project with renaming of project folder. I renamed the package (with refactoring) and tried to run the Project. I first recieved an exception just like Exception #528030 and cancelled the Exception Reporter and tried to run the project again and then recieved this Exception. MackSix: Renamed a package with refactoring and then tried to run the project. Stacktrace: java.lang.IllegalArgumentException: Invalid ClassPath root: file:/C:/Users/Mark/Documents/NetBeansProjects/JavaApplication47/build/classes/. The root must be a folder.(exists: true file: false directory: true read: true write: true root: null _root: C:\Users\Mark\Documents\NetBeansProjects\JavaApplication47\build\classes@255f59da:1961c59) at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:806) at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:284) at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:268) at org.netbeans.modules.java.source.ant.ProjectRunnerImpl.computeProperties(ProjectRunnerImpl.java:232) at org.netbeans.modules.java.source.ant.ProjectRunnerImpl.execute(ProjectRunnerImpl.java:121) at org.netbeans.api.java.project.runner.JavaRunner.execute(JavaRunner.java:273)
Created attachment 112433 [details] stacktrace
Duplicate of some issue Jarda has fixed in NB 7.1
Created attachment 112970 [details] stacktrace Renamed project with directory. Renamed package and then project would not run. Renamed project and directory again. Renamed package again and then ran project. Project ran and exception http://netbeans.org/bugzilla/show_bug.cgi?id=204243 was thrown. Closed running project and tried to run again and this exception was thrown.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=182308
Video of bug. It is the 2nd exception at point 3:58 on the video. http://youtu.be/lSIlBwTd8_E The 1st exception is bug id #204243. the 3rd exception is similar to #204809 and the 4th exception is bug id #204810
Regression - P1
Created attachment 113366 [details] Three tests to show that fo.refresh() does not detect change of file<->directory status The third test passes. Means if one refreshes initialized parent, the fileobject is really refreshed. I use that as a workaround in classpath.
Workaround in ergonomics#a9cda0531644 The real cause tracked as bug 205353
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b65791964193 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #204242: Refresh parent of a folder to refresh its folder/data status
*** Bug 207498 has been marked as a duplicate of this bug. ***
*** Bug 214582 has been marked as a duplicate of this bug. ***
*** Bug 214418 has been marked as a duplicate of this bug. ***