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.
Using a Frameset page as a start page does not work. Create a WEB project with VWP and deploy on Sun App Server 9. Try to create 4 pages. 1. Page 1 <- start page. 2. Banner 3. Left 4. Right Then try to edit the Page 1 to hold 3 frames. IDE acts all crazy. Oddvard
Reassigning to "visualweb" ...
From the code I can see the frameset's are not supported in the designer. I am looking for the original commit.
So the frameset seems to be supported (somehow if instead of the body element). But when I tried following: 1) Created new project 2) Created 3 html (Left, Right, Banner) 3) Tried to replace in the Page1 JSP tab, the webui:body with this: <frameset cols = "25%, 25%,*"> <frame src ="Left.html" /> <frame src ="Banner.html" /> <frame src ="Right.html" /> </frameset> The model corrupted with NPE. There is a suspition, the problem is becaseu the insync doesn't indicate which files can load to FacesModel and which not, thus all the files are expected to be loaded (the .html are not now). Investigating.
Yes, the problem is the insync doesn't distinguish 'FacesModel file' now. Before it worked using test FacesModel.getInstance(fileObject) != null, which is not working now (could be the loading involved). Passing to insync.
Forgot to mark.
After removing the webui:body from JSP one has to also remove the corresponding body property from Java. Afte doing that I get the following NPE: java.lang.NullPointerException at org.netbeans.modules.visualweb.designer.jsf.JsfForm.isModelBusted(JsfForm.java:1824) at org.netbeans.modules.visualweb.designer.jsf.DomProviderImpl.isModelBusted(DomProviderImpl.java:813) at org.netbeans.modules.visualweb.designer.WebForm.isModelBusted(WebForm.java:2096) at org.netbeans.modules.visualweb.css2.ExternalDocumentBox.initializeBackgroundColor(ExternalDocumentBox.java:225) at org.netbeans.modules.visualweb.css2.CssBox.initializeBackground(CssBox.java:433) at org.netbeans.modules.visualweb.css2.ContainerBox.initializeBackground(ContainerBox.java:125) at org.netbeans.modules.visualweb.css2.CssBox.initializeInvariants(CssBox.java:282) at org.netbeans.modules.visualweb.css2.CssBox.<init>(CssBox.java:229) at org.netbeans.modules.visualweb.css2.ContainerBox.<init>(ContainerBox.java:74) at org.netbeans.modules.visualweb.css2.DocumentBox.<init>(DocumentBox.java:84) at org.netbeans.modules.visualweb.css2.ExternalDocumentBox.<init>(ExternalDocumentBox.java:71) at org.netbeans.modules.visualweb.css2.FrameBox.<init>(FrameBox.java:50) at org.netbeans.modules.visualweb.css2.FrameBox.getFrameBox(FrameBox.java:74) at org.netbeans.modules.visualweb.css2.FrameSetBox.createChildren(FrameSetBox.java:262) at org.netbeans.modules.visualweb.css2.DocumentBox.relayout(DocumentBox.java:204) at org.netbeans.modules.visualweb.css2.PageBox.layout(PageBox.java:523) at org.netbeans.modules.visualweb.css2.PageBox.paint(PageBox.java:157) at org.netbeans.modules.visualweb.css2.PageBox.paint(PageBox.java:137) at org.netbeans.modules.visualweb.designer.DesignerPaneUI.paintSafely(DesignerPaneUI.java:688) [catch] at org.netbeans.modules.visualweb.designer.DesignerPaneUI.paint(DesignerPaneUI.java:879) at org.netbeans.modules.visualweb.designer.DesignerPaneUI.update(DesignerPaneUI.java:841) at javax.swing.JComponent.paintComponent(JComponent.java:743) at org.netbeans.modules.visualweb.designer.DesignerPane.paintComponent(DesignerPane.java:234) at javax.swing.JComponent.paint(JComponent.java:1006) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JViewport.paint(JViewport.java:728) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at org.netbeans.core.windows.view.ui.MultiSplitPane.paint(MultiSplitPane.java:294) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JLayeredPane.paint(JLayeredPane.java:559) at javax.swing.JComponent.paintChildren(JComponent.java:843) at javax.swing.JComponent.paint(JComponent.java:1015) at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4972) at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4925) at javax.swing.JComponent._paintImmediately(JComponent.java:4868) at javax.swing.JComponent.paintImmediately(JComponent.java:4675) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:451) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:114) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Sandip, I am not getting the NPE you provided. Moreover that NPE says, there is no FacesModel, which again seems to be insync isssue (or did you start to play with the page before it got loaded?). Otherwise it seems to be working for me now. Passing back to make sure.
See issue # 108569 *** This issue has been marked as a duplicate of 108569 ***