Hi,

When I download the trunk, and run the tests in Spatial, they all
fail.

TestFixture failed: NHibernate.MappingException : Could not compile
the mapping document: Tests.NHibernate.Spatial.Model.Simple.hbm.xml
  ----> NHibernate.HibernateException : Could not instantiate dialect
class NHibernate.Spatial.Dialect.MsSql2008SpatialDialect,
NHibernate.Spatial.MsSql2008, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null
  ----> System.MissingMethodException : Cannot create an abstract
class.
   at NHibernate.Cfg.Configuration.LogAndThrow(Exception exception)
   at NHibernate.Cfg.Configuration.AddValidatedDocument
(NamedXmlDocument doc)
   at NHibernate.Cfg.Configuration.ProcessMappingsQueue()
   at NHibernate.Cfg.Configuration.AddDocumentThroughQueue
(NamedXmlDocument document)
   at NHibernate.Cfg.Configuration.AddXmlReader(XmlReader hbmReader,
String name)
   at NHibernate.Cfg.Configuration.AddInputStream(Stream
xmlInputStream, String name)
   at NHibernate.Cfg.Configuration.AddResource(String path, Assembly
assembly)
   at NHibernate.Cfg.Configuration.AddClass(Type persistentClass)
   at Tests.NHibernate.Spatial.AbstractFixture.CreateConfiguration()
in C:\OpenSource\Nhibernate Contrib\src\NHibernate.Spatial\src
\Tests.NHibernate.Spatial\AbstractFixture.cs:line 239
   at Tests.NHibernate.Spatial.AbstractFixture.Configure() in C:
\OpenSource\Nhibernate Contrib\src\NHibernate.Spatial\src
\Tests.NHibernate.Spatial\AbstractFixture.cs:line 228
   at Tests.NHibernate.Spatial.AbstractFixture.TestFixtureSetUp() in C:
\OpenSource\Nhibernate Contrib\src\NHibernate.Spatial\src
\Tests.NHibernate.Spatial\AbstractFixture.cs:line 71
--HibernateException
   at NHibernate.Dialect.Dialect.InstantiateDialect(String
dialectName)
   at NHibernate.Dialect.Dialect.GetDialect(IDictionary`2 props)
   at NHibernate.Cfg.Configuration.AddValidatedDocument
(NamedXmlDocument doc)
--MissingMethodException
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type,
Boolean publicOnly, Boolean noCheck, Boolean& canBeCached,
RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly,
Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly,
Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at NHibernate.Dialect.Dialect.InstantiateDialect(String
dialectName)

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to