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 224785 - ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementImpl cannot be cast to org.w3c.dom.CharacterData
Summary: ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementImpl cannot...
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Schema2Beans (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: schema2beans-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-12 16:20 UTC by Exceptions Reporter
Modified: 2015-09-17 13:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 197471


Attachments
stacktrace (3.40 KB, text/plain)
2013-01-12 16:21 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-01-12 16:20:59 UTC
This bug was originally marked as duplicate of bug 166574, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
GUEST: while edit web.xml




Stacktrace: 
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementImpl cannot be cast to org.w3c.dom.CharacterData
   at org.netbeans.modules.schema2beans.DOMBinding.syncNodes(DOMBinding.java:962)
   at org.netbeans.modules.schema2beans.BeanProp.setElement(BeanProp.java:1058)
   at org.netbeans.modules.schema2beans.BeanProp.setValue(BeanProp.java:812)
   at org.netbeans.modules.schema2beans.BaseBean.setValue(BaseBean.java:471)
   at org.netbeans.modules.schema2beans.BaseBean.copyProperty(BaseBean.java:1439)
   at org.netbeans.modules.schema2beans.BaseBean.mergeTree(BaseBean.java:1838)
Comment 1 Exceptions Reporter 2013-01-12 16:21:01 UTC
Created attachment 130138 [details]
stacktrace
Comment 2 Martin Balin 2015-09-17 13:10:27 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.