Stack overflow while traversing code tree in transform

2 posts, 0 answers
  1. Trevor Thienhardt
    Trevor Thienhardt avatar
    1 posts
    Member since:
    Jan 2010

    Posted 02 Aug 2011 Link to this post

    Just Decompile Verion  2011.1.728.1

    Decompiling microsoft.xrm.client.codegeneration.dll from the CRM 2011 5.0.5 SDK  (available from http://www.microsoft.com/download/en/details.aspx?id=24004
    )

    Current member / type: Microsoft.Xrm.Client.CodeGeneration.CodeCustomizationCodeDomHelpers
    File path: C:\code\CRM2011SDK\sdk\bin\microsoft.xrm.client.codegeneration.dll
    Stack overflow while traversing code tree in transform.


      at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(StatementCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitBlockStatement(BlockStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitAnonymousDelegateExpression(AnonymousDelegateExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ExpressionCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitMethodInvocationExpression(MethodInvocationExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitReturnStatement(ReturnStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(StatementCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitBlockStatement(BlockStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitAnonymousDelegateExpression(AnonymousDelegateExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ExpressionCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitMethodInvocationExpression(MethodInvocationExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitReturnStatement(ReturnStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(StatementCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitBlockStatement(BlockStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitAnonymousDelegateExpression(AnonymousDelegateExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ExpressionCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitMethodInvocationExpression(MethodInvocationExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ExpressionCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitMethodInvocationExpression(MethodInvocationExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ExpressionCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitMethodInvocationExpression(MethodInvocationExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitAssignExpression(AssignExpression node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitExpressionStatement(ExpressionStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(ICodeNode node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit[TCollection,TElement](TCollection original)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.Visit(StatementCollection node)
       at Telerik.JustDecompiler.Ast.BaseCodeTransformer.VisitBlockStatement(BlockStatement node)
       at Telerik.JustDecompiler.Steps.RebuildLambdaExpressions.Process(DecompilationContext context, BlockStatement body)
       at Telerik.JustDecompiler.Decompiler.DecompilationPipeline.Run(MethodBody body, ILanguage language)
       at Telerik.JustDecompiler.Decompiler.Extensions.(DecompilationPipeline pipeline, ILanguage language, MethodBody body)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method)
       at Telerik.JustDecompiler.Languages.BaseLanguageWriter.•ƒ(IMemberDefinition member, Boolean isFirstMember)
       at Telerik.JustDecompiler.Languages.BaseLanguageWriter.(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       at Telerik.JustDecompiler.Languages.BaseLanguageWriter.Write(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       at Telerik.JustDecompiler.Languages.BaseLanguageWriter.WriteType(TypeDefinition type, Boolean showCompilerGeneratedMembers)
    at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 116 public static void AddInterceptQueryProperty(this CodeTypeDeclaration cmsDataServiceContext, CodeNamespace codeNamespace, string entityTypeName, string nameForEntitySet)
    {
    CodeStatement[] codeStatementArray = null;
    CodeMemberProperty codeMemberProperty = CodeCustomizationCodeDomHelpers.PropertyGet(0, "InterceptQuery"[CodeExpression[] codeExpressionArray = new CodeExpression[1]] = CodeCustomizationCodeDomHelpers.Return(CodeCustomizationCodeDomHelpers.ThisMethodInvoke(codeExpressionArray[0] = CodeCustomizationCodeDomHelpers.Base(nameForEntitySet), codeExpressionArray)), codeStatementArray);
    cmsDataServiceContext.Members.Add(codeMemberProperty);
    }


    Any ideas?
  2. Nikolay G Rusev
    Admin
    Nikolay G Rusev avatar
    44 posts

    Posted 03 Aug 2011 Link to this post

    Hello Trevor Thienhardt,

    Thank you for the detailed exception report. We were able to successfully reproduce the exception here.
    It seems that we have a problem when decompiling LINQ queries. We've logged the issue, so we'll start working on it soon.

    Regards,
    Nikolay G. Rusev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. DevCraft banner
Back to Top