Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366844 - Packages are not automatically registered
Summary: Packages are not automatically registered
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 12:39 EST by Eike Stepper CLA
Modified: 2012-09-21 06:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-12-15 12:39:41 EST
Cloned from: 361346: Packages are not automatically registered
https://bugs.eclipse.org/bugs/show_bug.cgi?id=361346

Build Identifier: 

When the method view.getRootResource() is invoked sometimes an exception is thrown because a metamodel is not registered.

(org.eclipse.emf.cdo.common.util.CDOException: Generated packages locally not available: CDOPackageUnit[id=http://www.eclipse.org/emf/CDO/Eresource/4.0.0, state=PROXY, type=UNKNOWN, originalType=NATIVE, timeStamp=2011-10-14 11:32:20.183])

The problem disappears registering manually the metamodel.

(see discussion starting with http://www.eclipse.org/forums/index.php/mv/msg/203918/651989/#msg_651989)

Reproducible: Sometimes

Steps to Reproduce:
1. Start the server
2. Insert an object using a metamodel of your choice 
3. From another program try to access the root of that resource
Comment 1 Eike Stepper CLA 2011-12-15 13:18:30 EST
commit ed9388a96b4c5bb9fecaf0e56fb4bf55418c7586
Comment 2 Eike Stepper CLA 2012-09-21 06:51:17 EDT
Closing.