1

Closed

MetadataWorkspace complains about SSpace space already being registered

description

After changeset 1ef63e53714e MetadataWorkspace complains about SSpace space already being registered in some of the performance tests. Arthur suggested this might be a threading issue. The exception we are getting looks like follows:

System.InvalidOperationException: The ItemCollection for the 'SSpace' space has already been registered.
at System.Data.Entity.Core.Metadata.Edm.MetadataWorkspace.RegisterItemCollection(ItemCollection collection)
at System.Data.Entity.Core.Objects.ObjectContext.EnsureMetadata()
at System.Data.Entity.Core.Objects.EntitySqlQueryState.GetExecutionPlan(Nullable`1 forMergeOption)
at System.Data.Entity.Core.Objects.ObjectQuery.ToTraceString()
at ...
Closed Mar 5, 2013 at 8:58 PM by DavidObando
Verified. Closing now.

comments

ajcvickers wrote Feb 13, 2013 at 7:18 PM

Fixed in a5faddeca2be

RoMiller wrote Feb 28, 2013 at 10:00 PM

This will be verified as part of verifying http://entityframework.codeplex.com/workitem/828