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 150474

Summary: IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@18704bc[/data/downloads/EnterpriseApplication1/EnterpriseA
Product: obsolete Reporter: cadorca <cadorca>
Component: visualwebAssignee: _ deva <deva>
Status: NEW ---    
Severity: blocker CC: aperezymadrid, cfwicks, magzupao, zkirill
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=23953
Issue Type: DEFECT Exception Reporter: 23953
Attachments: stacktrace

Description cadorca 2008-10-17 02:19:32 UTC
Build: NetBeans IDE Dev (Build 200810161401)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Linux, 2.6.24-21-generic, i386

User Comments:
GUEST: on startup.

GUEST: Creating a new Web project  using ICEFACES 1.6.2 under Netbeans 6.1

mkleint: opening a visual web page in maven project (with added visual web framework)

GUEST: estoy refactorizando el proyecto

GUEST: Opening page in VW designer

GUEST: I installed Icefaces and created a Icefaces visual web project. After creating Page1, I get the error in design mode.

GUEST: This error comes up during opening an jsp Page which was copy and paste before from another jsp.

GUEST: Using IceFaces Visual Web for developing a web project

GUEST: using IceFaces, close then reopen IceFaces project, the page1.jsp file could not be open



Stacktrace: 
java.lang.IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@18704bc[/data/downloads/EnterpriseApplication1/EnterpriseApplication1-war/web/Page2.jsp]
Comment 1 cadorca 2008-10-17 02:19:43 UTC
Created attachment 72071 [details]
stacktrace
Comment 2 Peter Zavadsky 2008-10-17 18:40:58 UTC
It seems that the exception was caused because the FacesModel might have been invalidated already (or not loaded yet?).
Need to investigate more.
Comment 3 Peter Zavadsky 2008-10-18 02:05:20 UTC
This happens because one is copying page from e.g. Visual ICE project, into Visual JSF project. That seems to be the
problem.
I am not sure now whether the copying should be prohibited, or whether those pages should be able coexist (the project
frameworks to adjust automatically?).
Comment 4 Exceptions Reporter 2009-08-08 13:29:56 UTC
This issue already has 52 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=23953