|
Re: [CDO] Multiple resource creation bug ? [message #425838 is a reply to message #425833] |
Tue, 09 December 2008 18:31 |
|
David,
Yes, please file a Bugzilla and ideally attach a small test case to
reproduce the problem (have a look at the various subclasses of
AbstractCDOTest for examples).
Cheers
/Eike
----
http://thegordian.blogspot.com
David Bonneau schrieb:
> Hi all,
>
> I have an unexpected behavior with CDO 2.0.0M3.
>
> I have one transaction, and I create several resource between two
> commit. After close/open the session, when I try to load a ressource I
> have the following exception :
>
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1Diagnos ticWrappedException:
> org.eclipse.emf.cdo.util.InvalidURIException: Invalid URI:
> cdo://repository/root/folder1/resource2
> at
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDe mandLoadException(ResourceSetImpl.java:315)
>
> ....
> Caused by: org.eclipse.emf.cdo.util.InvalidURIException: Invalid URI:
> cdo://repository/root/folder1/resource2
> at
> org.eclipse.emf.internal.cdo.CDOViewImpl.registerProxyResour ce(CDOViewImpl.java:1066)
>
> ....
> Caused by: org.eclipse.emf.cdo.common.util.CDOException: Node
> resource2 not found
> at
> org.eclipse.emf.internal.cdo.CDOViewImpl.getResourceNodeID(C DOViewImpl.java:537)
>
>
> I take a look in the MEMStore, it seems that there is several time the
> same CDOResource with different ids.
>
> If I commit after each resource creation everything works fine !
>
> Eike, Simon, I should create a Bugzilla ?
>
> David
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.02911 seconds