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

ArgumentOutOfRangeException decompiling System.Web.Mvc.dll

0 Answers 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
RJ Cuthbertson
Top achievements
Rank 2
RJ Cuthbertson asked on 08 Jul 2015, 05:49 PM

In the most recent build of JustDecompile, I encountered the following exception while trying to navigate through source code by clicking on the method call to jump to the method's definition. Specifically, this occurred in the AreaRegistration class in System.Web.Mvc when clicking on a reference to the abstract method "public abstract void RegisterArea(AreaRegistrationContext context)". The exception caused JustDecompile to crash and was not immediately reproducible.

 

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: span
   at ..(Span •) in c:\Builds\8\Dungeon\RadCodeEditor WPF\Sources\CentaurCodeEditorDemo\Telerik.Windows.Documents.Code\Text\DataStructures\FlatRopeNode.cs:line 210
   at Ÿ..(Span •) in c:\Builds\8\Dungeon\RadCodeEditor WPF\Sources\CentaurCodeEditorDemo\Telerik.Windows.Documents.Code\Text\TextSnapshot.cs:line 90
   at ƒœ..(CaretPosition ) in c:\Builds\8\Dungeon\RadCodeEditor WPF\Sources\CentaurCodeEditorDemo\Telerik.Windows.Controls.CodeEditor\Layout\CodeEditorLayout.cs:line 351
   at Telerik.Windows.Controls.RadCodeEditor.(CaretPosition ) in c:\Builds\8\Dungeon\RadCodeEditor WPF\Sources\CentaurCodeEditorDemo\Telerik.Windows.Controls.CodeEditor\UI\RadCodeEditor.cs:line 986
   at JustDecompile.CodeViewer.Controls.SourceCodeViewer.MoveToMiddleLine(Int32 lineNumber, Int32 columnNumber) in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\UI\JustDecompile.CodeViewer\IceEditorView\SourceCodeViewer.cs:line 711
   at JustDecompile.CodeViewer.Controls.SourceCodeViewer.<>c__DisplayClass14.<MoveToMiddleLineAsync>b__13() in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\UI\JustDecompile.CodeViewer\IceEditorView\SourceCodeViewer.cs:line 704
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at JustDecompile.App.Main() in c:\Builds\245\Behemoth\ReleaseBranch Production Build\Sources\UI\JustDecompile\obj\x86\Release\App.g.cs:line 16777215
In version: 2015.2.623.1

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
RJ Cuthbertson
Top achievements
Rank 2
Share this question
or