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.
Exception was thrown when I started to edit java file.
Created attachment 9949 [details] NPE
I'm unable to compile -> P1
Tomasi, could you please look at it. Thanks.
Created attachment 9953 [details] Forgotten from merge
I forgot to merge changes to this file. Please see the attached diff; note that there were some changes made (by Vita ?) from 7th April. I can adapt the diff to fit the current state.
Honzo -- what project is it ? The sample one or some other you have created from template ? If it is a new project, which template was used to create it ? [for some reasons, Lookup.lookup(JavaProject.class) returned null on the project's Lookup
(and you may safely disregard the patch I attached, I think, the problem seems to lie elsewhere)
I used template "New Java Application from Existing Sources". I think :o)
Hmm, couldn't it be the same problem as issue #28151. The symptomp is that the NPE can be reproduced only when you close and reopen the project and then do 'something' (e.g. edit the file in this case).
The issue 28151 is a actual reason of this. *** This issue has been marked as a duplicate of 28151 ***
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