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 #46054] Tue, 22 August 2006 10:54 Go to next message
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>
......
......
.....
Re: org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #46207 is a reply to message #46054] Tue, 22 August 2006 13:55 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Shailesh,

When you post the same questions to multiple newsgroup, please do so
with a single posting so that an answer on any group is an answer on all
groups. This was purely an EMF question so a posting to EMF should be
sufficient.


Shailesh Raj wrote:
> 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>
> .....
> .....
> ....
>
>
Re: org.eclipse.emf.ecore.xmi.FeatureNotFoundException Thrown [message #585979 is a reply to message #46054] Tue, 22 August 2006 13:55 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Shailesh,

When you post the same questions to multiple newsgroup, please do so
with a single posting so that an answer on any group is an answer on all
groups. This was purely an EMF question so a posting to EMF should be
sufficient.


Shailesh Raj wrote:
> 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>
> .....
> .....
> ....
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:OCL Error 2
Next Topic:Please Help -Using EMFT Validation in GMF
Goto Forum:
  


Current Time: Thu Apr 25 14:16:37 GMT 2024

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

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

Back to the top