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 164352

Summary: NullPointerException at org.netbeans.modules.visualweb.insync.models.FacesConfigModel.isBusted
Product: obsolete Reporter: pjcarrillo <pjcarrillo>
Component: visualwebAssignee: _ deva <deva>
Status: NEW ---    
Severity: blocker CC: intisand
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=33698
Issue Type: DEFECT Exception Reporter: 33698
Attachments: stacktrace

Description pjcarrillo 2009-05-04 00:05:57 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: OpenJDK Client VM, 1.6.0_0-b12, IcedTea6 1.3.1 (6b12-0ubuntu6.4) Runtime Environment, 1.6.0_0-b12
OS: Linux, 2.6.27-11-generic, i386

User Comments:
pjcarrillo: It comes when trying to access a jsp page in edit mode design

GUEST: created a new Visual IceFaces JSP page, and tried to open it.

GUEST: working with a Spring web flow 2.0 configured to handle the jsf flow. now it doesnt open the visual web page.

GUEST: deleted faces-config, because it had errors. i hoped that netbeans would rebuild it by clean feature

GUEST: Created a new Visual Web JSF Page through Projects tab.  When the editor tries to open the newly created page - I get this error and the page does no open successfully.



Stacktrace: 
java.lang.IllegalStateException: FacesModel was not loaded for DataObject, dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@225681[/home/pedro/NetBeansProjects/WebApplication1/web/Page2.jsp]
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.loadFacesModel(JsfForm.java:3020)
        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 pjcarrillo 2009-05-04 00:06:03 UTC
Created attachment 81443 [details]
stacktrace