Issue with simple linq query - Insight crashes

Discussion of issues, suggestions and bugs of LINQ Insight, Visual Studio add-in for design-time executing LINQ statements, that simplifies debugging LINQ
Post Reply
AlanB
Posts: 1
Joined: Wed 21 Aug 2013 13:26

Issue with simple linq query - Insight crashes

Post by AlanB » Wed 21 Aug 2013 13:31

Hi, I am getting the following message when trying to run a simple Linq query on VS2012 Ultimate Update 3

Message: The method or operation is not implemented.
Type: System.NotImplementedException
Source: ICSharpCode.NRefactory.VB
Site: VisitQueryJoinClause
Stack Trace:
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitQueryJoinClause(QueryJoinClause queryJoinClause, Object data)
at ICSharpCode.NRefactory.CSharp.QueryJoinClause.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.ConvertNodes[T](IEnumerable`1 nodes, AstNodeCollection`1 result)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitQueryExpression(QueryExpression queryExpression, Object data)
at ICSharpCode.NRefactory.CSharp.QueryExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitParenthesizedExpression(ParenthesizedExpression parenthesizedExpression, Object data)
at ICSharpCode.NRefactory.CSharp.ParenthesizedExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitMemberReferenceExpression(MemberReferenceExpression memberReferenceExpression, Object data)
at ICSharpCode.NRefactory.CSharp.MemberReferenceExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitInvocationExpression(InvocationExpression invocationExpression, Object data)
at ICSharpCode.NRefactory.CSharp.InvocationExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitMemberReferenceExpression(MemberReferenceExpression memberReferenceExpression, Object data)
at ICSharpCode.NRefactory.CSharp.MemberReferenceExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitInvocationExpression(InvocationExpression invocationExpression, Object data)
at ICSharpCode.NRefactory.CSharp.InvocationExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitMemberReferenceExpression(MemberReferenceExpression memberReferenceExpression, Object data)
at ICSharpCode.NRefactory.CSharp.MemberReferenceExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at ICSharpCode.NRefactory.VB.Visitors.CSharpToVBConverterVisitor.VisitInvocationExpression(InvocationExpression invocationExpression, Object data)
at ICSharpCode.NRefactory.CSharp.InvocationExpression.AcceptVisitor[T,S](IAstVisitor`2 visitor, T data)
at #=qdSllCAjso96S_Vrkowx6cU6GvkOgI6ox2j0Xk58Xkial5Ge0eMVlAa5hqoAKLRcc7L2jFq_ZtNyUjJe2Hn838Q==.#=qIG_hitHmxrGxndaU4OtQnw==(AstNode #=qhaHgZLEOmjjNWXNlAzNOGg==)
at #=qS_LmPjBazj4zvr7pN8mCLtJRikNlyS8Sz$2enRY_7YYeXURfBuzKCDtOaKyCm4uEqpC2EUz1mvRta0uHl0wczg==.#=qI2pH_EzoGLGzKp$zvpbSrw==(AstNode #=qfWnQan9AXF_VEGiVkQ7rBQ==)
at System.Collections.Generic.List`1.ConvertAll[TOutput](Converter`2 converter)
at #=qS_LmPjBazj4zvr7pN8mCLtJRikNlyS8Sz$2enRY_7YYeXURfBuzKCDtOaKyCm4uEqpC2EUz1mvRta0uHl0wczg==.#=qOf64AWhe_nNpdKP5tX0qgQ==(KnownLanguages #=qtz7BU0hgpQHANi45Mt2ivQ==, MethodSymbols #=qicdp0S2e3UKkeEXIZS_MHQ==, SyntaxTree #=qfnx1ykc2VOy11_TfXCQlVg==, SourceCodeInfo #=qTS2bvlFLEePr$bA7gU4dNg==, IQueryExecutorClient #=qyJSkkvTJrNPK8VXk3oYsKA==, AstNode& #=qUsLD3_WfzJGpGqWZnOjdvg==)
at #=qdPby2j$IZu198Bf8N_kX6EGO_hLnFAbtcY9q2A8x_fTUBT9Pdd4eNagLaQ4hykfB6rGkPoq$M3mqYhYE1OqUgQ==.#=qJNMTtcpj2mCi6AyZJ1jHbQ==()
at #=qdPby2j$IZu198Bf8N_kX6EGO_hLnFAbtcY9q2A8x_fTUBT9Pdd4eNagLaQ4hykfB6rGkPoq$M3mqYhYE1OqUgQ==.#=qhktCWldG8FpKb4ebXHzjAw==()
at #=qdPby2j$IZu198Bf8N_kX6EGO_hLnFAbtcY9q2A8x_fTUBT9Pdd4eNagLaQ4hykfB6rGkPoq$M3mqYhYE1OqUgQ==.#=q47qZotjDBVEaA9fQ_2l37PFCo1nABP8kVCKfarSfJ8M=.#=q7nOv399qL8p$ZjmEAl8RwDDTs5Yjf$FYRPKB1oatRuw=()

The Linq query is

Dim x = From d In Me.MortgageContext.Fact_Facilities
select d
Take 10

which forms part of a WCF RIA services dll I am building. Any ideas what I am doing wrong?

Regards,

Alan

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: Issue with simple linq query - Insight crashes

Post by Shalex » Wed 04 Sep 2013 07:47

Thank you for the report. We have reproduced the problem with joins in VB queries and will notify you when it is fixed.

LINQ Insight does not fully support VB at the moment because of limitations of ICSharpCode.NRefactory.VB.

Gulab
Posts: 1
Joined: Tue 30 Dec 2014 12:21

Re: Issue with simple linq query - Insight crashes

Post by Gulab » Tue 30 Dec 2014 12:22

I can successfully create a snapshot of our database from the GUI. However, when I try to do the same from the commandline, I get the following output:



300-209 braindumps

Post Reply