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 - IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@18704bc[/data/downloads/EnterpriseApplication1/EnterpriseA
Summary: IllegalStateException: FacesModel was not loaded for DataObject, dataObject=o...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ deva
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 02:19 UTC by cadorca
Modified: 2009-08-08 13:30 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 23953


Attachments
stacktrace (3.69 KB, text/plain)
2008-10-17 02:19 UTC, cadorca
Details

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