These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: A first chance exception of type 'NHibernate.MappingExceptio
PostPosted: Wed Apr 16, 2008 8:48 am 
Beginner
Beginner

Joined: Mon Jan 14, 2008 10:58 am
Posts: 24
What is this?
I've got about 50 lines with the same text in the debug window in VS:
Code:
A first chance exception of type 'NHibernate.MappingException' occurred in NHibernate.DLL


The page itself runs ok however!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 08, 2008 11:00 am 
Newbie

Joined: Wed Sep 26, 2007 3:54 am
Posts: 2
If you goto Debug -> Exceptions, then add "NHibernate.MappingException" to CLRE and check it VS will catch it for you. You will often see that it whines about no "id" of object "X" (which is a subclass of object "Y" which does have an "id").

If the webapplication won't show you a list of errors in the mappings then it will most probably work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.