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 Dev (Build 200805221203) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Linux, 2.6.22-14-generic, i386 User comments: I created a new Web Application with Visual Web JavaServer Faces. An error "Missing Body Element" showed up in the editor immediately. I switched between Design/JSP/Java several times without changing anything, then I invoked build (and then Clean & Build) on the project. Then I pressed the "Refresh" button in the editor toolbar. I tried to close the file tab -> ISE was thrown STACKTRACE: (first 10 lines) java.lang.IllegalStateException: Illegal source modification with dirty model /root/NetBeansProjects/WebApplication1/web/Page1.jsp at org.netbeans.modules.visualweb.insync.SourceUnit.setSourceDirty(SourceUnit.java:304) at org.netbeans.modules.visualweb.insync.SourceUnit.propertyChange(SourceUnit.java:227) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.openide.text.CloneableEditorSupport.firePropertyChange(CloneableEditorSupport.java:484) at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:2062) at org.openide.text.CloneableEditorSupport.doCloseDocument(CloneableEditorSupport.java:1975) at org.openide.text.CloneableEditorSupport.closeDocument(CloneableEditorSupport.java:1949) at org.openide.text.CloneableEditorSupport.notifyClosed(CloneableEditorSupport.java:1824) at org.openide.text.DataEditorSupport.notifyClosed(DataEditorSupport.java:295)
*** Issue 135929 has been marked as a duplicate of this issue. ***
*** Issue 135326 has been marked as a duplicate of this issue. ***
This is caused by regression mentioned in 136016.
On: Product Version: NetBeans IDE Dev (Build 080529) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: SunOS version 5.10 running on sparc; ISO646-US; en (nb) I got the same exception simply by trying to edit the page in JSP view - Steps to reproduce: Create new Web Application with Visual Web JavaServer Faces -> switch to JSP view -> insert new line before the <webuijsf:body id="body1" style="-rave-layout: grid"> tag.
Fixed due to 136016.
Verified with build 080530.