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.

Bug 194841 - [70cat] NullPointerException at org.netbeans.modules.web.jsf.editor.index.JsfIndex.<init>
Summary: [70cat] NullPointerException at org.netbeans.modules.web.jsf.editor.index.Jsf...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-29 14:48 UTC by host
Modified: 2011-10-30 15:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 176272


Attachments
stacktrace (2.99 KB, text/plain)
2011-01-29 14:49 UTC, host
Details

Note You need to log in before you can comment on or make changes to this bug.
Description host 2011-01-29 14:48:58 UTC
Build: NetBeans IDE Dev (Build 201101250001)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.jsf.editor.index.JsfIndex.<init>(JsfIndex.java:77)
   at org.netbeans.modules.web.jsf.editor.index.JsfIndex.create(JsfIndex.java:64)
   at org.netbeans.modules.web.jsf.editor.JsfSupportImpl.getIndex(JsfSupportImpl.java:165)
   at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.checkLibraryDescriptorsUpToDate(FaceletsLibrarySupport.java:171)
   at org.netbeans.modules.web.jsf.editor.facelets.FaceletsLibrarySupport.getLibraries(FaceletsLibrarySupport.java:152)
   at org.netbeans.modules.web.jsf.editor.JsfSupportImpl.getLibrary(JsfSupportImpl.java:153)
Comment 1 host 2011-01-29 14:49:02 UTC
Created attachment 105459 [details]
stacktrace
Comment 2 Exceptions Reporter 2011-05-01 01:27:30 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176272
Comment 3 Marek Fukala 2011-10-29 05:57:42 UTC
some kind of obscure situation where ClassPath.getClassPath(wm.getDocumentBase(), ClassPath.COMPILE) returns null !?!?!

fixed in web-main#87fe0bbbcc99
Comment 4 Quality Engineering 2011-10-30 15:11:56 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/87fe0bbbcc99
User: Marek Fukala <mfukala@netbeans.org>
Log: #194841 - [70cat] NullPointerException at org.netbeans.modules.web.jsf.editor.index.JsfIndex.<init>