i'm using codesmitth 5.2.0, vs2008
when i try to create a mapping file using a table i get the following message:
System.NullReferenceException: Object reference not set to an instance of an object. at NHibernateHelper.EntityManager.GetManyToOne() at NHibernateHelper.EntityManager.Init() at NHibernateHelper.EntityManager.get_MemberMap() at NHibernateHelper.EntityManager.get_Members() at _CodeSmith.BusinessObject_cst.__RenderMethod1(TextWriter writer, Control control) at CodeSmith.Engine.DelegateControl.Render(TextWriter writer) at CodeSmith.Engine.Control.RenderChildren(TextWriter writer) at CodeSmith.Engine.Control.Render(TextWriter writer) at CodeSmith.Engine.CodeTemplate.Render(TextWriter writer) at CodeSmith.Engine.CodeTemplate.RenderToString() at CodeSmith.Gui.CodeTemplateGenerator.f(Object A_0, EventArgs A_1)
Hello,
Are you still seeing this issue? Could you please send us a sql script that will recreate your tables that will reproduce this issue.
Thanks
-Blake Niemyjski
Blake Niemyjski CodeSmith Tools, LLC. Software Development Engineer Blog: http://windowscoding.com/blogs/blake/ .NetTiers team | Visit http://www.nettiers.com
What SchemaProvider are you using? Can you email your schema into support?
From: Cosmin <bounce-HalfHuman@codesmithsupport.com>Sent: 1/15/2010 5:23:02 AM
Are you using Sql Server, Oracle, MySQL?
Are you using Sql Sever, Oracle, MySQL?
From: Cosmin <bounce-HalfHuman@codesmithsupport.com>Sent: 1/15/2010 8:34:48 AM
Could you please send us a sql script that will recreate your tables that will reproduce this issue.