This bug was originally marked as duplicate of bug 194841, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE 7.4 RC2 (Build 201309252201)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
hmichel: Just created a Java project, and during the opening of its main class I faced this issue. The main class name was lombok (without any package)
Created attachment 140854 [details]
When it happened I had 2 Maven projects (one Web and other is the POM project), and I had one HTML5 project too, which just points to the Maven Web project. None of this projects have any JSF file btw.
(In reply to Michel Graciano from comment #2)
> When it happened I had 2 Maven projects (one Web and other is the POM
> project), and I had one HTML5 project too, which just points to the Maven
> Web project. None of this projects have any JSF file btw.
That's some kind of obscure situation where project's execution classpath has to be null. In any case no such NPE should appear anymore. Fixed in web-main #df5a7aef4372.