Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » ClassCastException in XSDSchemaImpl
ClassCastException in XSDSchemaImpl [message #583464] Fri, 13 February 2004 21:20
Dennis Fuglsang is currently offline Dennis FuglsangFriend
Messages: 77
Registered: July 2009
Member
Ed or Frank,

I encountered the following CCE when editing an XML schema model via the
editor

Get this ClassCaseException when node.getParentNode() returns a DocumentImpl
instance.

Thread [main] (Suspended (exception ClassCastException))
XSDSchemaImpl$5.handleEvent(Event) line: 2792
DocumentImpl.dispatchEvent(NodeImpl, Event) line: 749
DocumentImpl.insertedNode(NodeImpl, NodeImpl, boolean) line: 1056
ElementNSImpl(ParentNode).internalInsertBefore(Node, Node, boolean) line:
494
ElementNSImpl(ParentNode).insertBefore(Node, Node) line: 322
XSDSchemaImpl(XSDConcreteComponentImpl).forceNiceInsertBefor e(Node, Node,
Node) line: 1535
XSDSchemaImpl(XSDConcreteComponentImpl).niceInsertBefore(Nod e, Node, Node)
line: 1481
XSDSchemaImpl(XSDConcreteComponentImpl).handleElementForAdop t(EReference,
XSDConcreteComponent) line: 1334
XSDSchemaImpl(XSDConcreteComponentImpl).adoptContent(ERefere nce,
XSDConcreteComponent) line: 1362
XSDSchemaImpl.adoptContent(EReference, XSDConcreteComponent) line: 1725
XSDSchemaImpl(XSDConcreteComponentImpl).eNotify(Notification ) line: 1125
NotificationChainImpl.dispatch(Notification) line: 115
NotificationChainImpl.dispatch() line: 103
EObjectContainmentEList(NotifyingListImpl).addAllUnique(int, Collection)
line: 342
EObjectContainmentEList(BasicEList).addAll(int, Collection) line: 729
AddCommand.doExecute() line: 318
AddCommand(AbstractOverrideableCommand).execute() line: 132
CreateChildCommand(CommandWrapper).execute() line: 180
CreateChildCommand.execute() line: 250
BasicCommandStack.execute(Command) line: 93
CreateSiblingAction(StaticSelectionCommandAction).run() line: 227
CreateSiblingAction(Action).runWithEvent(Event) line: 842
Previous Topic:How to provide a different schema content
Next Topic:NullpointerException in XSDSchemaImpl
Goto Forum:
  


Current Time: Thu Apr 18 23:41:18 GMT 2024

Powered by FUDForum. Page generated in 0.02415 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top