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

Summary: NullPointerException: No FacesModel for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@153ee15[G:\studyProject\icecruddemo\web\Page1.jsp]
Product: obsolete Reporter: wsc0751 <wsc0751>
Component: visualwebAssignee: Peter Zavadsky <pzavadsky>
Status: NEW ---    
Severity: blocker CC: Chiana, denim98, supachai
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=2470
Issue Type: DEFECT Exception Reporter: 2470
Attachments: stacktrace

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.
  Ru

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



Stacktrace: 
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(JsfForm.java:3024)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.access$000(JsfForm.java:131)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm$1.modelSetAdded(JsfForm.java:369)
        at org.netbeans.modules.visualweb.insync.ModelSet.fireModelSetAdded(ModelSet.java:179)
        at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:255)
        at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:217)
Comment 1 wsc0751 2009-05-30 04:54:23 UTC
Created attachment 83011 [details]
stacktrace