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.
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 OS: Linux User Comments: 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) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.jsf.editor.index.JsfIndex.<init>(JsfIndex.java:87) at org.netbeans.modules.web.jsf.editor.index.JsfIndex.create(JsfIndex.java:69) at org.netbeans.modules.web.jsf.editor.JsfSupportImpl.getIndex(JsfSupportImpl.java:252) at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.checkLibraryDescriptorsUpToDate(FaceletsLibrarySupport.java:205) at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.indexedContentPossiblyChanged(FaceletsLibrarySupport.java:181) at org.netbeans.modules.web.jsf.editor.JsfSupportImpl.indexedContentPossiblyChanged(JsfSupportImpl.java:246)
Created attachment 140854 [details] stacktrace
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.