Ick, not seen that one before and it certainly shouldn't be
happening.  If you can get a repro of it, that would be great.

Cheers,

Steve

On Jun 2, 9:47 pm, James Crowley <[email protected]> wrote:
> I'm intermittently (again!) seeing this error on the trunk:
>
>  System.InvalidCastException
>
> Unable to cast object of type 'NHibernate.Impl.ExpandedQueryExpression' to
> type 'NHibernate.Linq.NhLinqExpression'.
>
> at NHibernate.Linq.TypeHelperExtensionMethods.As[T](Object source) in
> c:\Users\James\Documents\Visual Studio Projects\External
> Projects\NHibernate\nhibernate\nhibernate\src\NHibernate\Linq\TypeHelperExt 
> ensionMethods.cs:line
> 48
> at NHibernate.Linq.NhQueryProvider.Execute(Expression expression) in
> c:\Users\James\Documents\Visual Studio Projects\External
> Projects\NHibernate\nhibernate\nhibernate\src\NHibernate\Linq\NhQueryProvid 
> er.cs:line
> 26
> at NHibernate.Linq.NhQueryProvider.Execute[TResult](Expression expression)
> in c:\Users\James\Documents\Visual Studio Projects\External
> Projects\NHibernate\nhibernate\nhibernate\src\NHibernate\Linq\NhQueryProvid 
> er.cs:line
> 55
> at Remotion.Data.Linq.QueryableBase`1.GetEnumerator()
> at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
> at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
>
> Has anyone else come across this? Will try and do some more digging when I
> get the chance...
>
> James

-- 
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