Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-289989: DialogResult can be set only after Window is created and shown as dialog.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 14, 2012 12:12:49 AM
Updated Mar 14, 2012 12:19:36 AM
Resolved Mar 14, 2012 12:19:36 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Duplicate
Assignee Daniel Degtyarev (daniel.degtyarev)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 Preview for Visual Studio 11 Beta EAP Version=7.0.0.325, Built=2012-03-02T18:39:56, Configuration=“Csharp PublicMode Vbnet VS1100”
DialogResult can be set only after Window is created and shown as dialog.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “DialogResult can be set only after Window is created and shown as dialog.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = PresentationFramework
StackTraceString = “
  at System.Windows.Window.set_DialogResult(Nullable`1 value)
     at JetBrains.UI.Options.OptionsDialog2.OptionsDialogView.<OnSourceInitialized>b__0(Boolean x) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Options\OptionsDialog2\OptionsDialogView.xaml.cs:line 49
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “DialogResult can be set only after Window is created and shown as dialog.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 367
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.SimpleSignal.Fire() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\SimpleSignal.cs:line 66
     at JetBrains.UI.Options.OptionsDialog2.OptionsDialogUidata.<>c__DisplayClass17.<.ctor>b__3() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Options\OptionsDialog2\OptionsDialogUidata.cs:line 108
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 64
     at JetBrains.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, Lifetime lifetime, String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\Invocator.cs:line 255
     at JetBrains.UI.Options.OptionsDialog2.OptionsDialogUidata.<>c__DisplayClass17.<.ctor>b__2() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Options\OptionsDialog2\OptionsDialogUidata.cs:line 102
     at JetBrains.UI.Extensions.Commands.DelegateCommand.<>c__DisplayClass4.<.ctor>b__0(Object o) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Extensions\Commands\DelegateCommand.cs:line 26
     at JetBrains.UI.Extensions.Commands.DelegateCommand.Execute(Object parameter) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Extensions\Commands\DelegateCommand.cs:line 47
     at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
     at System.Windows.Controls.Primitives.ButtonBase.OnClick()
     at System.Windows.Controls.Button.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 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.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     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 System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
     at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
     at System.Windows.Forms.Integration.WindowsFormsHost.ActivateWindowListener.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
     at System.Windows.Forms.Integration.WindowsFormsHost.ActivateWindowListener.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
     at System.Windows.Forms.Integration.WindowsFormsHost.ActivateWindowListener.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
     at System.Windows.Forms.Integration.WindowsFormsHost.ActivateWindowListener.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
     at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut)
     at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(Object parameter)
     at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
     at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
     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.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.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>