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.
I call JavaProject.getJavaProject(project).getCompilationUnits() from a unit xtest and the method throws exception. One exception is displayed on the console and caught inside JavaProject. Then NullPointerException falls out of the method. I attach both exceptions. The project is created using ProjectDecoratorHid. I sleep 15seconds after calling ProjectsDecoratorHid.openProject to let everything settle down and it looks like everything in the project opened in this way works fine. Steps to reproduce: get the latest JarPackager from cvs and run tests (cd to test, type "ant"). The test suite PackagingTest forces the exception.
Created attachment 10316 [details] the exception show on the console output
Created attachment 10317 [details] the exception thrown out of getCompilationUnits
the same problem appears in web module tests *** This issue has been marked as a duplicate of 33621 ***