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 152338 - [65cat] ClassCastException: org.netbeans.modules.xml.xdm.nodes.Comment cannot be cast to org.netbeans.modules.xml.xdm.nodes.Element
Summary: [65cat] ClassCastException: org.netbeans.modules.xml.xdm.nodes.Comment cannot...
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: XDM (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-04 19:10 UTC by sunbiz
Modified: 2009-05-04 13:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 136042


Attachments
stacktrace (4.35 KB, text/plain)
2008-11-04 19:10 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-11-04 19:10:30 UTC
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)
Comment 1 sunbiz 2008-11-04 19:10:38 UTC
Created attachment 73228 [details]
stacktrace
Comment 2 Samaresh Panda 2008-11-18 22:11:43 UTC
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.