Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Unhandled WPF exception

$
0
0

SharpDevelop Version : 5.1.0.5071-Beta 2-5f965cb9

.NET Version         : 4.6.01038

OS Version           : Microsoft Windows NT 6.3.9600.0

Current culture      : English (United States) (en-US)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 273992kb

GC Heap Memory       : 124391kb

 

Unhandled WPF exception

Exception thrown:

Debugger.DebuggerException: Can not raise event within callback.

   at Debugger.Process.OnResumed()

   at Debugger.Process.AsyncContinue(DebuggeeStateAction action, Thread threadToRun)

   at Debugger.Process.AsyncContinue()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Continue()

   at ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)

   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)

   at System.Windows.Controls.Primitives.ButtonBase.OnClick()

   at System.Windows.Controls.Button.OnClick()

   at ICSharpCode.Core.Presentation.ToolBarButton.OnClick()

   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

02:17:32.577 [1] DEBUG - Resolved (Line 110, Col 4) to 

02:17:32.577 [1] DEBUG - Resolved (Line 110, Col 4) to 

02:17:32.577 [1] DEBUG - Resolved (Line 110, Col 4) to 

02:17:32.577 [1] DEBUG - Resolved (Line 110, Col 4) to 

02:17:32.577 [1] DEBUG - Resolved (Line 110, Col 4) to 

02:17:33.023 [37] DEBUG - Resolved (Line 110, Col 4) to 

02:17:33.858 [1] INFO - Debugger Command: StepInto

02:17:33.903 [1] ERROR - ThreadException caught

--> Exception:

System.InvalidOperationException: Could not find function with token 100666048

   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction)

   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction, List`1 typeArgs)

   at Debugger.StackFrame..ctor(Thread thread, ICorDebugILFrame corILFrame, UInt32 chainIndex, UInt32 frameIndex)

   at Debugger.Thread.<get_Callstack>d__0.MoveNext()

   at Debugger.Thread.get_MostRecentStackFrame()

   at Debugger.ManagedCallback.StepComplete(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugStepper pStepper, CorDebugStepReason reason)

   at Debugger.ManagedCallbackProxy.<>c__DisplayClass1.<StepComplete>b__0()

   at Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()

   at Debugger.MTA2STA.PerformCall()

   at Debugger.MTA2STA.PerformAllCalls()

   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)

   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)

   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.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)

   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

02:17:42.874 [1] INFO - Debugger Command: StepInto

02:17:44.898 [1] INFO - Debugger Command: StepInto

02:17:46.169 [1] INFO - Debugger Command: StepInto

02:17:52.122 [1] DEBUG - Resolved (Line 112, Col 24) to [ErrorResolveResult System.Boolean]

02:17:53.162 [1] DEBUG - Resolved (Line 111, Col 12) to 

02:17:58.848 [1] INFO - Debugger Command: StepOver

02:17:59.801 [1] INFO - Debugger Command: StepOver

02:18:00.442 [1] INFO - Debugger Command: StepOver

02:18:00.874 [1] INFO - Debugger Command: StepOver

02:18:01.146 [1] INFO - Debugger Command: StepOver

02:18:01.361 [1] INFO - Debugger Command: StepOver

02:18:01.578 [1] INFO - Debugger Command: StepOver

02:18:01.785 [1] INFO - Debugger Command: StepOver

02:18:02.000 [1] INFO - Debugger Command: StepOver

02:18:02.194 [1] INFO - Debugger Command: StepOver

02:18:08.219 [1] INFO - Debugger Command: Continue

02:18:08.277 [1] ERROR - Unhandled WPF exception

--> Exception:

Debugger.DebuggerException: Can not raise event within callback.

   at Debugger.Process.OnResumed()

   at Debugger.Process.AsyncContinue(DebuggeeStateAction action, Thread threadToRun)

   at Debugger.Process.AsyncContinue()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Continue()

   at ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)

   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)

   at System.Windows.Controls.Primitives.ButtonBase.OnClick()

   at System.Windows.Controls.Button.OnClick()

   at ICSharpCode.Core.Presentation.ToolBarButton.OnClick()

   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)

   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)

   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)

   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Post-error application state information:

Installed 3rd party AddIns: 

ProjectService.CurrentSolution: <null>

ProjectService.CurrentProject: <null>

Workbench.ActiveContent: [AvalonEditViewContent C:\Users\RonBerg\Documents\NinjaTrader 7\bin\Custom\Indicator\PivotsMWDrb.cs]


Viewing all articles
Browse latest Browse all 1764

Trending Articles