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.
[2004051111800] Steps to reproduction: 1) create a folder X 2) create a j2se project A in the folder X 3) create a j2se project B in the folder X 4) add the project A to the project B classpath 5) close the projects 6) close ide 7) rename folder X to Y 8) open project Y/A the NPE was thrown.
Created attachment 14850 [details] exception stacktrace
Sorry, can't reproduce. I can put in some additional error checks into some classes to help diagnose it in the future, but I can't even guess what would cause this. Note - if you open y/b, you will need to adjust the path to a from x/a to y/a in y/b/nbproject/private/private.properties. This is only true if you were not using version control and so .../x/a was stored as an absolute path; if the projects were inside some VCS working dir this should not be necessary because "../a" is stored as the path to a from b.
v