Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] New error "No meta ID mapped ..."(No meta ID mapped for org.eclipse.emf.ecore.impl.EClassImpl)
[CDO] New error "No meta ID mapped ..." [message #533089] Wed, 12 May 2010 08:26 Go to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 51
Registered: July 2009
Member
We have a CDO server code that starts as an OSGI service.
The server code did not changed in recent times, but now we get the error below.
The only apparent thing we did is update our Eclipse 3.6 to the latest EMF projects versions (including CDO and Net4j).
Any suggestion?
Thanks
Vincenzo Caselli
RCP Vision
======================================
osgi> Starting CounterVision CDO server ...
[INFO] Detected crash
[INFO] Repaired after crash: maxObjectID=0, maxMetaID=0
[INFO] No user manager configured. Users will not be authenticated
CDORepositoryInfo[demo]
java.lang.IllegalStateException: No meta ID mapped for org.eclipse.emf.ecore.impl.EClassImpl@16be7ee (name: CDOResourceFolder) (instanceClassName: null) (abstract: false, interface: false)
Containing package: org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@6245a4 (name: eresource) (nsURI: http://www.eclipse.org/emf/CDO/Eresource/2.0.0, nsPrefix: eresource)
Re: [CDO] New error "No meta ID mapped ..." [message #533099 is a reply to message #533089] Wed, 12 May 2010 08:40 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Vincenzo,

I *suspect* that the code and the DB schema has changed in the meantime.
Can you try to export your model to XML, create a new
repository/store/DB and then import the model dump? Does that work?

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 12.05.2010 10:26, schrieb Vincenzo Caselli:
> We have a CDO server code that starts as an OSGI service.
> The server code did not changed in recent times, but now we get the
> error below.
> The only apparent thing we did is update our Eclipse 3.6 to the latest
> EMF projects versions (including CDO and Net4j).
> Any suggestion?
> Thanks
> Vincenzo Caselli
> RCP Vision
> ======================================
> osgi> Starting CounterVision CDO server ...
> [INFO] Detected crash
> [INFO] Repaired after crash: maxObjectID=0, maxMetaID=0
> [INFO] No user manager configured. Users will not be authenticated
> CDORepositoryInfo[demo]
> java.lang.IllegalStateException: No meta ID mapped for
> mailto:org.eclipse.emf.ecore.impl.EClassImpl@16be7ee (name:
> CDOResourceFolder) (instanceClassName: null) (abstract: false,
> interface: false)
> Containing package:
> mailto:org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl@6245a4
> (name: eresource) (nsURI:
> http://www.eclipse.org/emf/CDO/Eresource/2.0.0, nsPrefix: eresource)
>


Re: [CDO] New error "No meta ID mapped ..." [message #533284 is a reply to message #533099] Wed, 12 May 2010 23:05 Go to previous messageGo to next message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 51
Registered: July 2009
Member
Hi Eike,
indeed, in order to avoid the problems you mention, we always drop the database before launching the CDO server (it's a prototype project and we've got populating JUnit tests).

However now the problem is just gone! Can't explain how.
Just updated some other EMF plugins, apparently.
Sorry for the false alarm.
Thank you Eike

Cheers
Vincenzo
Re: [CDO] New error "No meta ID mapped ..." [message #533306 is a reply to message #533284] Thu, 13 May 2010 06:49 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 13.05.2010 01:05, schrieb Vincenzo Caselli:
> Hi Eike,
> indeed, in order to avoid the problems you mention, we always drop the
> database before launching the CDO server (it's a prototype project and
> we've got populating JUnit tests).
>
> However now the problem is just gone! Can't explain how.
> Just updated some other EMF plugins, apparently.
> Sorry for the false alarm.
> Thank you Eike
No worries. Better it solved itself now than after a lot of effort being
spent on it :P

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:[CDO] Delete objects completely from database (turn off versioning)
Next Topic:[CDO] NullPointerException
Goto Forum:
  


Current Time: Sat Apr 20 04:53:38 GMT 2024

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

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

Back to the top