Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » ClassCastException in XSDSchemaImpl
ClassCastException in XSDSchemaImpl [message #583464] Fri, 13 February 2004 16:20
Dennis Fuglsang is currently offline Dennis Fuglsang
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: Tue Jul 22 05:23:35 EDT 2014

Powered by FUDForum. Page generated in 0.02946 seconds