Specified argument was out of the range of valid values

4 posts, 1 answers
  1. dario
    dario avatar
    9 posts
    Member since:
    Dec 2008

    Posted 21 Jun 2011 Link to this post

    Hi.
    After trying to open assembly obfuscated using Babel.net (command: babel.exe MyAssembly.dll) I'm getting:

    Current member / type: Foo.Bar.Client.Ioc.NinjectFactory
    File path: C:\Out\Foo.Bar.Client.dll
    Specified argument was out of the range of valid values.
    Parameter name: index
       at System.Linq.Enumerable.ElementAt[TSource](IEnumerable`1 source, Int32 index)
       at .?.?()
       at .?.?()
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.?(InstructionBlock block)
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.()
       at Telerik.JustDecompiler.Decompiler.StatementDecompiler.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.BaseImperativeLanguageWriter.?ƒ(IMemberDefinition member, Boolean isFirstMember)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.WriteTypeMembers(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.Write(TypeDefinition type, Func`3 writeMember, Boolean writeNewLine, Boolean showCompilerGeneratedMembers)
       at Telerik.JustDecompiler.Languages.BaseImperativeLanguageWriter.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 107

    JD Version: Beta 2011.1.610.11

    Best regards
    Darek
  2. Answer
    Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 22 Jun 2011 Link to this post

    Hello dario,

    Thank you for the feedback. Unfortunately we don't support decompiling obfuscated assemblies. It's true that we don't handle the exceptions very well but when trying to decompile obfuscated code the thrown exceptions are many and appear in different places. It's hard to handle them all. At least we don't crash JustDecompile when such exception happens and you can go on using it. Hope this is the case with you as well.

    Thanks again and keep the feedback coming. It is very valuable for us.

    All the best,

    Vladi
    the Telerik team

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

  3. DevCraft banner
  4. Narendra
    Narendra avatar
    1 posts
    Member since:
    Jun 2013

    Posted 03 Jun 2013 Link to this post

    Hi,

    We are getting this error more frequently in our INT environment

    <b> Error Message :</b>Specified argument was out of the range of valid values.  Parameter name: ItemHierarchicalIndex<b> Error Source :</b>Telerik.Web.UI<b> Error Stack Trace :</b>   at Telerik.Web.UI.RadGrid.get_SelectedItems()     at default.hiddenSelect_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<b> Error TargetSite :</b>Telerik.Web.UI.GridItemCollection get_SelectedItems()

    <b> Error Message :</b>Specified argument was out of the range of valid values.  Parameter name: ItemHierarchicalIndex<b> Error Source :</b>Telerik.Web.UI<b> Error Stack Trace :</b>   at Telerik.Web.UI.GridItemCollection.get_Item(String hierarchicalIndex)     at Telerik.Web.UI.GridDataItemCollection.get_Item(String hierarchicalIndex)     at Telerik.Web.UI.RadGrid.get_SelectedItems()     at default.hiddenSelect_Click(Object sender, EventArgs e) in :line 296     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<b> Error TargetSite :</b>Telerik.Web.UI.GridItem get_Item(System.String)

    <b>ASP.NET AJAX ERROR</b> :<b> Error Message :</b>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.  Parameter name: ItemHierarchicalIndex     at Telerik.Web.UI.RadGrid.get_SelectedItems()     at Default.hiddenSelect_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<b> Error Source :</b>Telerik.Web.UI<b> Error Stack Trace :</b>   at Telerik.Web.UI.RadGrid.get_SelectedItems()     at Default.hiddenSelect_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<b> Error TargetSite :</b>Telerik.Web.UI.GridItemCollection get_SelectedItems()


    <b>ASP.NET AJAX ERROR</b> :<b> Error Message :</b>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.  Parameter name: ItemHierarchicalIndex     at Telerik.Web.UI.RadGrid.get_SelectedItems()     at Default.hiddenSelect_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<b> Error Source :</b>Telerik.Web.UI<b> Error Stack Trace :</b>   at Telerik.Web.UI.RadGrid.get_SelectedItems()     at Default.hiddenSelect_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<b> Error TargetSite :</b>Telerik.Web.UI.GridItemCollection get_SelectedItems()

    Can you suggest that what could be cuasing these kind of error?

    Thanks
    Narendra
  5. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 04 Jun 2013 Link to this post

    Hi Narendra,

    Can you please post your question in the product forum for the respective product you're using and asking for? I'm sorry we can't help you. This forum is for Telerik's decompilation tool - JustDecompile.

    Regards,
    Vladi
    Telerik
    Tell us what you think about JustDecompile. Your opinion matters! You can use our forum, or our JustDecompile UserVoice website for feature requests.
Back to Top