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 - NPE when openning faces-config.xml
Summary: NPE when openning faces-config.xml
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Joelle Lam
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-04-27 23:42 UTC by Pavel Buzek
Modified: 2009-11-10 06:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (7.26 KB, text/html)
2007-04-27 23:43 UTC, Pavel Buzek
Details

Note You need to log in before you can comment on or make changes to this bug.
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.