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.
[build #200309100000; j2sdk1.4.2] Sometimes when I delete the package (popup menu in explorer - select item Delete), the following exception appears...
Created attachment 11583 [details] java.lang.NullPointerException attached
The PROJECTS keyword added.
It is RANDOM:-)
Parser is asking the ClassPath if it contains the removed package, which is obviously wrong. The ClassPath.contains (FileObject fo) method gets null as it parameter, the obvious and quite feasible solution (the ClassPath is API and should do precondition checking to be more stable) I will fix this part of issue, but I need more time to find out what happend in the JavaParser
The ParseRequest does not check the case when the ProjectMember is invalid or broken. 1) Fixed by the check in the ParseRequest. 2) ClassPath maked more reliable, it verifies the inpu parameters and throws IllegalArgumentException in the case of null reference.
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as VERIFIED --->
---> CLOSED