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 102849

Summary: NPE when openning faces-config.xml
Product: javaee Reporter: Pavel Buzek <pbuzek>
Component: JSFAssignee: Joelle Lam <joellelam>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: deva, j_lau
Priority: P2 Keywords: RANDOM
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE

Description Pavel Buzek 2007-04-27 23:42:53 UTC
In M9 preview build installed by NBI (Full) on 4/27, JDK 1.6.0 I created a web
module w/o any frameworks, later added JSF framework. When I first open
faces-config.xml I get an NPE (will attach). The editor is open and displays
some content.
Comment 1 Pavel Buzek 2007-04-27 23:43:13 UTC
Created attachment 41902 [details]
NPE
Comment 2 Joelle Lam 2007-04-28 00:21:49 UTC
I am struggling to reproduce this problem.  I am currently on 04/26 so I am
updating my source just in case.  I just have a few questions.  Did you make any
modifications to this project or did you simply change the framework and open
faces-config.xml?  Also, is this always reproducable for you?

Deva, can you look at this call stack?  When the faces-config is loaded I ask
insync if it has a model for the given file.  Is there a reason an NPE would be
thrown?  Since Pavel is opening a JSF project, it should be returning null.
Comment 3 Pavel Buzek 2007-04-28 00:28:30 UTC
I tried again and I cannot reproduce it either :(
Comment 4 Joelle Lam 2007-04-28 01:37:52 UTC
Let's re-open it if we see it again.