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 166283 - NullPointerException: No FacesModel for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@153ee15[G:\studyProject\icecruddemo\web\Page1.jsp]
Summary: NullPointerException: No FacesModel for DataObject, dataObject=org.netbeans.m...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Peter Zavadsky
Depends on:
Reported: 2009-05-30 04:54 UTC by wsc0751
Modified: 2010-11-13 09:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 2470

stacktrace (792 bytes, text/plain)
2009-05-30 04:54 UTC, wsc0751

Note You need to log in before you can comment on or make changes to this bug.
Description wsc0751 2009-05-30 04:54:16 UTC
Build: NetBeans IDE 6.5.1 (Build 200903060201)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Opening a jsp page.

krystyna: -on first project ee5 project creation on restart. Also just reported ISE issue #113516

GUEST: Creating a new Web ICEfaces project.

GUEST: Issue Description : 
Created a new Web project, added JSF support disabled Validate XML and Object.
After the project initial setup , created a new Visual Web JSF page called login.
The editor did not open up and keep on showing Please wait message , loading ...

when clicked on JSP view,It showed a blank screen after a error message which was displayed in Design View,when switched to Java view shows some code.
Before that I had created/deleted projects couple of times .and this occured in one of my attempts to create a new JSF project .
Here is the messages.log 
>Log Session: Thursday, December 18, 2008 3:04:02 PM EST
>System Info: 
  Product Version         = NetBeans IDE 6.1 (Build 200805300101)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_10-ea; Java HotSpot(TM) Client VM 11.0-b11; Sun Microsystems Inc.

big_al: Created a new Visual Web Page

GUEST: opening a jsp file fom the (fresh created) Vehicle example JSF-Project

davti: opening up a web page

navman: Opening jsf jsp page (Visual web) of an enterprise project.

jsr: attempting to open a page

GUEST: Opened faces-config.xml (double clicked on it)

GUEST: Opened netbeans

GUEST: openning the project

java.lang.NullPointerException: No FacesModel for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@153ee15[G:\studyProject\icecruddemo\web\Page1.jsp]
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.access$000(
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm$1.modelSetAdded(
        at org.netbeans.modules.visualweb.insync.ModelSet.fireModelSetAdded(
        at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(
        at org.netbeans.modules.visualweb.insync.ModelSet$
Comment 1 wsc0751 2009-05-30 04:54:23 UTC
Created attachment 83011 [details]