Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Sphinx » EMF Compare - Loading Model (Using EMF compare for Our Developed EMF Model )
EMF Compare - Loading Model [message #1776698] Mon, 20 November 2017 14:57
Kunal Chandmare is currently offline Kunal ChandmareFriend
Messages: 3
Registered: August 2017
Junior Member
While comparing model instance with its history version,loading model action gave ClassCastException given indetail below.

Only Extension Addition is as follows:

<extension point="org.eclipse.emf.ecore.extension_parser">
<parser
type="atxml"
class="*******ResourceFactoryImpl"/>
</extension>



No additional code is written. Only above addition to the RCP application plug-in and in Runtime instance in General->ContentTypes added with ".atxml" file extension.

Eclipse standard Library example (Attached in the message) with sphinx compare example plugins works fine.

Anyone can help with the problem?


ERROR
java.lang.ClassCastException: org.eclipse.sphinx.emf.resource.ExtendedErrorHandlerWrapper cannot be cast to com.sun.org.apache.xerces.internal.xni.parser.XMLErrorHandler
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.setProperty(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.setProperty(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.setProperty(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.SAXParser.setProperty(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl.makeParser(XMLParserPoolImpl.java:145)
at org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl.get(XMLParserPoolImpl.java:106)
at org.eclipse.sphinx.emf.resource.ExtendedXMLLoadImpl.load(ExtendedXMLLoadImpl.java:167)
at com.assystem.atx_editor.common.impl.AtxXMLResourceImpl.doLoad(AtxXMLResourceImpl.java:149)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1518)
at org.eclipse.emf.compare.ide.internal.utils.NotLoadingResourceSet.loadFromStorage(NotLoadingResourceSet.java:254)
at org.eclipse.emf.compare.ide.internal.utils.NotLoadingResourceSet.load(NotLoadingResourceSet.java:416)
at org.eclipse.emf.compare.ide.internal.utils.NotLoadingResourceSet.load(NotLoadingResourceSet.java:383)
at org.eclipse.emf.compare.ide.internal.utils.NotLoadingResourceSet.create(NotLoadingResourceSet.java:155)
at org.eclipse.emf.compare.ide.ui.internal.logical.ComparisonScopeBuilder.createScope(ComparisonScopeBuilder.java:494)
at org.eclipse.emf.compare.ide.ui.internal.logical.ComparisonScopeBuilder.createMinimizedScope(ComparisonScopeBuilder.java:464)
at org.eclipse.emf.compare.ide.ui.internal.logical.ComparisonScopeBuilder.build(ComparisonScopeBuilder.java:162)
at org.eclipse.emf.compare.ide.ui.internal.logical.ComparisonScopeBuilder.create(ComparisonScopeBuilder.java:248)
at org.eclipse.emf.compare.ide.ui.internal.structuremergeviewer.EMFCompareStructureMergeViewer.compareInputChanged(EMFCompareStructureMergeViewer.java:1101)
at org.eclipse.emf.compare.ide.ui.internal.structuremergeviewer.EMFCompareStructureMergeViewer$CompareInputChangedJob.run(EMFCompareStructureMergeViewer.java:197)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  • Attachment: library.zip
    (Size: 337.31KB, Downloaded 160 times)

[Updated on: Thu, 23 November 2017 09:49]

Report message to a moderator

Previous Topic:How to register modelDescriptor in sphinx
Next Topic:Sphinx EMF Compare Each Other
Goto Forum:
  


Current Time: Tue Dec 03 11:52:38 GMT 2024

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

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

Back to the top