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 103021 - cannot open newly created visual web page.
Summary: cannot open newly created visual web 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: Quy Nguyen
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-04-30 19:29 UTC by _ hlu
Modified: 2007-05-02 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (329.75 KB, text/plain)
2007-04-30 19:31 UTC, _ hlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hlu 2007-04-30 19:29:11 UTC
nbi build070430 on windows:
I cannot open newly created visual web page(Page2, Page3...) on windows. The
page can be seen in the project view. The following exception is the ide log file.
Steps:
Create web+visual web.
Add some components in Page1 and deploy. Everything works fine.
Back to ide, create a new visual web page(from project popup menu or from File|new)
The newly created page is shown in project view, but it is not opened in designer.
Tried to open the page and it did not work.
INFO: Can't find JsfJavaEditorSupport for
org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@9d9c24[MasterFileObject@155863d[C:/Documents
and Settings/HONG/My Documents/NetBeansProjects/WebApplication33/web/Page5.jsp]]
java.lang.IllegalStateException: Can't find JsfJavaEditorSupport for
org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject@9d9c24[MasterFileObject@155863d[C:/Documents
and Settings/HONG/My Documents/NetBeansProjects/WebApplication33/web/Page5.jsp]]
   at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport$JspEditorTopComponent.open(JsfJspEditorSupport.java:374)
   at org.openide.windows.TopComponent.open(TopComponent.java:345)
   at
org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:177)
   at org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:76)
   at org.openide.util.Mutex.doEvent(Mutex.java:1181)
   at org.openide.util.Mutex.writeAccess(Mutex.java:376)
   at org.openide.windows.CloneableOpenSupport.open(CloneableOpenSupport.java:73)
   at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:403)
   at
org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject$OpenEdit.edit(JsfJspDataObject.java:175)
   at org.openide.actions.EditAction.performAction(EditAction.java:60)
   at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:559)
   at
org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
   at
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:555)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
   at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
   at java.awt.Component.processMouseEvent(Component.java:6038)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
   at java.awt.Component.processEvent(Component.java:5803)
   at java.awt.Container.processEvent(Container.java:2058)
   at java.awt.Component.dispatchEventImpl(Component.java:4410)
   at java.awt.Container.dispatchEventImpl(Container.java:2116)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
   at java.awt.Container.dispatchEventImpl(Container.java:2102)
   at java.awt.Window.dispatchEventImpl(Window.java:2429)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
   at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)

The
Comment 1 _ hlu 2007-04-30 19:31:03 UTC
Created attachment 41979 [details]
ide log
Comment 2 _ hlu 2007-04-30 19:39:21 UTC
This is a regression from previous build070427.
Comment 3 _ hlu 2007-04-30 19:41:38 UTC
Workaround:

go to source folder:
double click Page2.java (or Fragment1.java) to open file in java editor.
press the Design button.

After this, you can click the .jsp and it will work. 
Comment 4 Quy Nguyen 2007-05-01 04:43:05 UTC
This has been fixed in both the release-m9 branch and in the trunk.
Comment 5 Lark Fitzgerald 2007-05-02 15:45:17 UTC
Verified using nb 0501 (m9)