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 200811011401) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Windows XP, 5.1, x86 Stacktrace: java.lang.ClassCastException: org.netbeans.modules.xml.xdm.nodes.Comment cannot be cast to org.netbeans.modules.xml.xdm.nodes.Element at org.netbeans.modules.xml.xdm.XDMModel$.update(XDMModel.java:740) at org.netbeans.modules.xml.xdm.XDMModel.mutate(XDMModel.java:392) at org.netbeans.modules.xml.xdm.XDMModel.mutate(XDMModel.java:339) at org.netbeans.modules.xml.xdm.XDMModel.setAttribute(XDMModel.java:743) at org.netbeans.modules.xml.xdm.xam.XDMAccess.setAttribute(XDMAccess.java:239) at org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent.setAttribute(AbstractDocumentComponent.java:483)
Created attachment 73228 [details] stacktrace
Can you tell us how you got this exception? Please provide as much info as possible. Please attach project as zip if you have to.