Community
Participate
Working Groups
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
Consider using the solutions proposed in: https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=252956 Invoking: session.options().setGeneratedPackageEmulationEnabled(true); solve the problem. Maybe that should be the default.
commit 5869f4b67436992a19e1ccaa644892085336a88d
Port to 4.0 via bug 366844.
*** Bug 367170 has been marked as a duplicate of this bug. ***
Closing.