Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown
org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #585903] Tue, 22 August 2006 10:54
Eclipse UserFriend
Originally posted by: Shailesh.Raj.in.unisys.com

Hi
I am calling ResourceSet.getResource(URI.createURI("file:///" +
file.getAbsolutePath()), true); to load XMI file.
But it throws following exception, I am printing few lines
org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature
'FcLocationType' not found.
(file:///C:\DOCUME~1\rajs1\LOCALS~1\Temp\EMF34014.pvx2, 4, 35)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeatu re(XMLHandler.java:1215)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeatu re(XMLHandler.java:1185)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLH andler.java:1146)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XML Handler.java:466)
at
org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHa ndler.java:449)
at
org.eclipse.emf.ecore.xmi.impl.SAXWrapper.startElement(SAXWr apper.java:73)
.....
.....
....
*******************
Here is few lines of input XML file
<?xml version="1.0" ?>

<pof version="5.1.1.2">
<FcLocationType id="1000021639">
<Name>
<string>U.S.&amp;Territories</string>
</Name>
<DescriptionType>
<string>The Business Region serviced by the Insurance Company,
represented by the 50 States, D.C., and the 4 U.S. Territories.</string>
</DescriptionType>
</FcLocationType>
<FcLocationType id="1000021663">
<Name>
<string>Minnesota</string>
</Name>
</FcLocationType>
<fcContainmentType id="1000024467">
<Start>
<objref id="1000021639">
</objref>
</Start>
<EndType>
<objref id="1000021663">
</objref>
</EndType>
......
......
.....
Previous Topic:CDO and Boolean
Next Topic:OCL Error 2
Goto Forum:
  


Current Time: Tue Apr 23 13:51:41 GMT 2024

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

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

Back to the top