This is a migrated thread and some comments may be shown as answers.

Specified argument was out of the range of valid values

3 Answers 75 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
dario
Top achievements
Rank 1
dario asked on 21 Jun 2011, 03:30 PM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 22 Jun 2011, 09:47 AM
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 >>

0
Narendra
Top achievements
Rank 1
answered on 04 Jun 2013, 03:13 AM
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
0
Vladi
Telerik team
answered on 04 Jun 2013, 08:12 AM
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.
Tags
General Discussions
Asked by
dario
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Narendra
Top achievements
Rank 1
Share this question
or