Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » unable to load XXXResourceFactoryImpl
unable to load XXXResourceFactoryImpl [message #420525] Wed, 02 July 2008 00:01 Go to next message
Bernd Mühlböck is currently offline Bernd MühlböckFriend
Messages: 46
Registered: July 2009
Member
I developed my own ResourceImpl and ResourceFactoryImpl and registered
it with the extension point:

<extension
point="org.eclipse.emf.ecore.extension_parser">
<parser
class="relations.util.RelationsResourceFactoryImpl"
type="relation">
</parser>
</extension>

The problem is, that I get the following exception when it tries to
access a *.relation resource:

org.eclipse.emf.common.util.WrappedException:
org.eclipse.core.runtime.CoreException: Plug-in org.spqr.model.relations
was unable to load class relations.util.RelationsResourceFactoryImpl.
at
org.eclipse.emf.ecore.plugin.RegistryReader$PluginClassDescr iptor.createInstance(RegistryReader.java:171)
at
org.eclipse.emf.ecore.plugin.RegistryReader$ResourceFactoryD escriptor.createFactory(RegistryReader.java:189)
at
org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryI mpl.getFactory(ResourceFactoryRegistryImpl.java:82)
....


Thanks,
Bernd
Re: unable to load XXXResourceFactoryImpl [message #420576 is a reply to message #420525] Wed, 02 July 2008 14:48 Go to previous message
Bernd Mühlböck is currently offline Bernd MühlböckFriend
Messages: 46
Registered: July 2009
Member
I finally solved the issue.
Although I'm not quite sure I believe that it something to do with the
Activator of the Plugin (Bundle) which was not set right.

Cheers,
Bernd


Bernd Mühlböck schrieb:
> I developed my own ResourceImpl and ResourceFactoryImpl and registered
> it with the extension point:
>
> <extension
> point="org.eclipse.emf.ecore.extension_parser">
> <parser
> class="relations.util.RelationsResourceFactoryImpl"
> type="relation">
> </parser>
> </extension>
>
> The problem is, that I get the following exception when it tries to
> access a *.relation resource:
>
> org.eclipse.emf.common.util.WrappedException:
> org.eclipse.core.runtime.CoreException: Plug-in org.spqr.model.relations
> was unable to load class relations.util.RelationsResourceFactoryImpl.
> at
> org.eclipse.emf.ecore.plugin.RegistryReader$PluginClassDescr iptor.createInstance(RegistryReader.java:171)
>
> at
> org.eclipse.emf.ecore.plugin.RegistryReader$ResourceFactoryD escriptor.createFactory(RegistryReader.java:189)
>
> at
> org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryI mpl.getFactory(ResourceFactoryRegistryImpl.java:82)
>
> ...
>
>
> Thanks,
> Bernd
Previous Topic:Choosing between SDO/CDO/Teneo/EclipseLink etc.
Next Topic:Best place for utility code in jet templates
Goto Forum:
  


Current Time: Wed Apr 24 17:10:18 GMT 2024

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

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

Back to the top