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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06 OS: Windows XP, 5.1, x86 User Comments: GUEST: I was unable to navigate to other page through one page. GUEST: close project GUEST: I am deleting the whole project. GUEST: Linking an hyperlink to a jsp page on a faces-config.xml pageflow. GUEST: I was trying to delete a visual mapping of navigation case in the faces-config.xml. I had edited the condition name but it would not lose focus on thecondition (case) name edit so then I tried to delete it. Then I tried closing the file and discarding changes and I got the error. jiai: Trying to use the PageFlow view of Netbeans ... sorry, but NB 6.01 is garbage! brviking: Editing page navigation. GUEST: Unable to close face-config.xml. IDE refuses to close file. Stacktrace: java.lang.IllegalStateException: Current thread has already started a transaction at org.netbeans.modules.xml.xam.AbstractModel.startTransaction(AbstractModel.java:346) at org.netbeans.modules.xml.xam.AbstractModel.sync(AbstractModel.java:257) at org.netbeans.modules.web.jsf.JSFConfigEditorSupport.notifyClosed(JSFConfigEditorSupport.java:372) at org.netbeans.modules.web.jsf.JSFConfigEditorSupport$CloseHandler.resolveCloseOperation(JSFConfigEditorSupport.java:463) at org.netbeans.core.multiview.MultiViewPeer.canClose(MultiViewPeer.java:549) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.canClose(MultiViewCloneableTopComponent.java:295)
Created attachment 77438 [details] stacktrace
This problem has now resulted in my netbeans becoming totaly unusable The faces-config file would not close, project would not close, changed to another project group which took a while. Eventualy opened other project group, plus the offending faces-config from the prior project. Changed back and closed netbeans. Now on opening netbeans I see the start page and the rogue faces-config file and nothing responds.
After removing the faces-config.NavData in the nbproject directory netbeans will now start. So looks like something is corrupting the file and then the file is causing netbeans to freeze up on start.
Created attachment 84503 [details] The "corrupt" file
This issue already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=8177
Nikita, please take a look.
This issue already has 51 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=8177
This issue already has 52 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=8177
Alex, try to reproduce it on current NB trunk build.
This bug is not reproducible on NB trunk release: Product Version: NetBeans IDE Dev (Build 200907140201) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02 System: Windows XP version 5.1 running on x86; My steps: 1. Install Visual Wev JSF plugin. 2. Create a new Web Application (see the appropriate attachment) with Visual Web Designer for JSF components 3. Create a new JSF web page Page2 4. Put a label and a button on Visual Designer of Page1.jsp and Page2.jsp 5. Open faces-config.xml and create 2 links: Page1.button1 -> Page2 and Page2.button1 -> Page1 6. Save all changed files and close faces-config.xml No any exception was thrown. 7. Open faces-config.xml, change edit mode from "PageFlow" to "XML", change xml-source of faces-config.xml to make this document invalid. 8. Save all changed files and close faces-config.xml No any exception was thrown. 9. Restore correct xml-source of faces-config.xml and save. 10. Deploy this web application on Glassfish V2. Web application is running properly (see the attached screenshot).
Created attachment 84825 [details] VisualWeb application
Created attachment 84826 [details] screenshot