Decompiler error: CodeViewerViewModel.cs:line 107

2 posts, 0 answers
  1. Simon
    Simon avatar
    1 posts
    Member since:
    May 2011

    Posted 09 Jun 2011 Link to this post

    Hey guys,

    Thanks for providing this excellent contribution to the .NET development community! Minor stack trace error encountered below from Microsoft.Xna.Framework.Graphics.dll Texture class. This is in today's latest release (June 3rd):

    Current member / type: System.Void Microsoft.Xna.Framework.Graphics.Texture::InitializeDescription(Microsoft.Xna.Framework.Graphics.SurfaceFormat)
    File path: C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Graphics.dll
    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
       at System.Collections.Generic.List`1.get_Item(Int32 index)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.•Ÿ(TypeDefinition typeDefinition, MethodInvocationExpression node)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.VisitMethodInvocationExpression(MethodInvocationExpression node)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(Expression expression)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.VisitExpressionStatement(ExpressionStatement node)
       at Telerik.JustDecompiler.Ast.BaseCodeVisitor.Visit(IEnumerable collection)
       at Telerik.JustDecompiler.Languages.CSharp.CSharpWriter.WriteBlock(Action action)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(MethodDefinition method)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(IMemberDefinition member, Boolean showCompilerGeneratedMembers)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(IMemberDefinition member)
       at JustDecompile.CodeViewer.CodeWriter.Write() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\Writers\CodeWriter.cs:line 34
       at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.(AssemblyMemberNode member, CancellationToken cancellationToken) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 107

    Keep up the great work! 

  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    408 posts

    Posted 16 Jun 2011 Link to this post

    Hello Simon,

     Thanks for the good word.

    Also, thanks for letting us know about this problem. I have created an internal issue for it and we are gonna investigate and fix it. You should be able to monitor it's progress and grab a build once we have the fix ready. Please, stay tuned.

    Best wishes,
    Tsviatko Yovtchev
    the Telerik team

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

  3. DevCraft banner
Back to Top