-->
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.  [ 3 posts ] 
Author Message
 Post subject: AmbiguousMatchException from CastleLazyInitializer.Intercept
PostPosted: Tue Oct 23, 2007 4:07 pm 
Expert
Expert

Joined: Fri Oct 28, 2005 5:38 pm
Posts: 390
Location: Cedarburg, WI
Hibernate version: 1.2.0.GA

Out of the blue, I am getting this exception:

Code:
[AmbiguousMatchException: Ambiguous match found.]
   NHibernate.Proxy.CastleLazyInitializer.Intercept(IInvocation invocation, Object[] args) +259
   CProxyTypeOncontact_BaseApp_EntitiesUserEntities_NHibernate_ProxyINHibernateProxy_System_Runtime_SerializationISerializable2.set_JobFunction(JobFunction value) +184


Huh?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 05, 2007 2:35 am 
Newbie

Joined: Sat Oct 15, 2005 3:30 am
Posts: 17
Hi,

Did you find what the reason was for this behaviour?

Cheers,

Adam


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 1:48 pm 
Expert
Expert

Joined: Fri Oct 28, 2005 5:38 pm
Posts: 390
Location: Cedarburg, WI
By recompiling NHibernate for debugging and stepping into the code, I found that the problem was in my code, but the stack trace from beyond CastleLazyInitializer.Intercept was lost so from the exception itself I had no way of knowing ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.