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.
1. Create Visual Web Project. 2. Add Tree component to the page. 3. Add action event hadler for TreeNode. 4. Do undo (I did Ctrl+Z) several times (for undo everything that concerning Tree). 5. Run project. Result: Get error: "executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@150a3dc) threw exception com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: javax.faces.FacesException: javax.faces.el.PropertyNotFoundException: javax.el.PropertyNotFoundException: The class 'webapplication1.Page1' does not have the property 'tree1'." Then look into JSP code of a web page, tags for Tree and TreeNode are still here, though there is no any tree component in Designer View.
Undo redo impl belongs to insync.
This has been a known issue with the way undo/redo works in VW (from the days of Creator). The undos performed while in Java tab that affect what was added through the designer can result in the Java source being out of sink with the jsp. In other words the undo/redos are assumed be performed in the editor in which the change was created. This may be hard for the user keep track of though. There are two possible solutions. 1. Clear the undo stack when the user switches between the editor sub-tabs i.e. Designer, JSP Editor, Java Editor. This is implementable. 2. Make sure that the Undo events are correctly synchronized and performed in all editors. This is a desirable solution.
Insync was designed that way from the begining. To support a unified Undo stack is considered an enhancement. We will look at it in the future.