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 95597 - Double clicking Page fragment box in designer does not open page
Summary: Double clicking Page fragment box in designer does not open page
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: Sun Windows XP
: P1 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 18:34 UTC by Sherry Zhou
Modified: 2007-06-21 15:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sherry Zhou 2007-02-14 18:34:03 UTC
build 070214 M7

It happens at both J2EE 4 and JEE 5 .

Steps:
1. Drop a page fragment from palette to designer
2. Click New Page Fragment button in the popup and enter the name
-- A box appears in designer with text Page Fragment box. 
3. Double click at this box. 
-- IDE does not open this page fragment as a new page. Get exception blow in
messages.log
INFO: There is no FacesModel available for non-template dataObject=org.netbeans.
modules.visualweb.project.jsfloader.JsfJspDataObject@73453[MasterFileObject@d50c
4f[C:/Documents and Settings/Sherry/My Documents/NetBeansProjects/WebApplication
10/web/Fragment3.jspf]]
java.lang.IllegalArgumentException: There is no FacesModel available for non-tem
plate dataObject=org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObje
ct@73453[MasterFileObject@d50c4f[C:/Documents and Settings/Sherry/My Documents/N
etBeansProjects/WebApplication10/web/Fragment3.jspf]]
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getJsfForm(JsfFor
m.java:157)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getDesignersForDa
taObject(JsfForm.java:213)
        at org.netbeans.modules.visualweb.designer.jsf.HtmlDomProviderServiceImp
l.getDesignersForDataObject(HtmlDomProviderServiceImpl.java:106)
        at org.netbeans.modules.visualweb.designer.WebForm.getWebFormForDataObje
ct(WebForm.java:441)
        at org.netbeans.modules.visualweb.css2.ExternalDocumentBox.loadPage(Exte
rnalDocumentBox.java:209)
        at org.netbeans.modules.visualweb.css2.ExternalDocumentBox.findForm(Exte
rnalDocumentBox.java:99)
        at org.netbeans.modules.visualweb.css2.JspIncludeBox.getJspIncludeBox(Js
pIncludeBox.java:72)
        at org.netbeans.modules.visualweb.css2.BoxFactory.createBox(BoxFactory.j
ava:126)
        at org.netbeans.modules.visualweb.css2.BoxFactory.create(BoxFactory.java
:62)
        at org.netbeans.modules.visualweb.css2.ContainerBox.addNode(ContainerBox
.java:475)
        at org.netbeans.modules.visualweb.css2.ContainerBox.createChildren(Conta
inerBox.java:388)
        at org.netbeans.modules.visualweb.css2.ContainerBox.addBoxNode(Container
Box.java:574)
        at org.netbeans.modules.visualweb.css2.ContainerBox.addNode(ContainerBox
.java:494)
        at org.netbeans.modules.visualweb.css2.ContainerBox.createChildren(Conta
inerBox.java:388)
        at org.netbeans.modules.visualweb.css2.ContainerBox.addBoxNode(Container
Box.java:574)
        at org.netbeans.modules.visualweb.css2.ContainerBox.addNode(ContainerBox
.java:494)
        at org.netbeans.modules.visualweb.css2.ContainerBox.createChildren(Conta
inerBox.java:388)
        at org.netbeans.modules.visualweb.css2.DocumentBox.createChildren(Docume
ntBox.java:121)
        at org.netbeans.modules.visualweb.css2.DocumentBox.relayout(DocumentBox.
java:200)
        at org.netbeans.modules.visualweb.css2.PageBox.layout(PageBox.java:519)
        at org.netbeans.modules.visualweb.css2.PageBox.relayout(PageBox.java:584
)
        at org.netbeans.modules.visualweb.css2.DocumentBox.redoLayout(DocumentBo
x.java:389)
        at org.netbeans.modules.visualweb.css2.PageBox.redoLayout(PageBox.java:5
97)
        at org.netbeans.modules.visualweb.css2.DocumentBox.changed(DocumentBox.j
ava:804)
        at org.netbeans.modules.visualweb.designer.WebForm.nodeChanged(WebForm.j
ava:1314)
        at org.netbeans.modules.visualweb.designer.WebForm$HtmlDomProviderListen
er.nodeChanged(WebForm.java:2007)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.fireNodeChanged(J
sfForm.java:796)
        at org.netbeans.modules.visualweb.designer.jsf.JsfForm.nodeChanged(JsfFo
rm.java:508)
        at org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.processUp
dates(DomSynchronizer.java:718)
        at org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.run(DomSy
nchronizer.java:659)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 _ sandipchitale 2007-02-16 22:48:36 UTC
Fixed due to the same fix as 95265.
Comment 2 Lark Fitzgerald 2007-04-30 19:10:33 UTC
verified using 0430 M9
Comment 3 Lark Fitzgerald 2007-04-30 19:15:21 UTC
Fails on XP, works on solaris & ubuntu.
Comment 4 Lark Fitzgerald 2007-04-30 19:44:42 UTC
re-closing this.  The tread dump for this is different (though the exception 
is the same).  A different bug has been logged. 103021
Comment 5 Lark Fitzgerald 2007-06-21 15:15:34 UTC
NB6: 200706211113
Woodstock 4.1 200706210537