#462- An exception has occurred (Logger.LogExceptionEx)

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=462
124
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.InvalidOperationException: Cannot call Invoke or InvokeAsync on a control until the window handle has been created.
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.OnInitialTimeoutElapsed() in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 363
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.OnTimerTick(Object sender, EventArgs e) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 351
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.Callback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmp5F80.tmp\src\Util\src\Logger.cs:line 266 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmp5F80.tmp\src\Util\src\Logger.cs:line 278 column 5
at JetBrains.ReSharper.Shell.ShellBase.OnUnhandledException(Exception) in c:\TEMP\tmp5F80.tmp\src\Shell\src\ShellBase.cs:line 121 column 5
at JetBrains.ReSharper.Shell.UIApplicationShell.Application_ThreadException(Object, ThreadExceptionEventArgs) in c:\TEMP\tmp5F80.tmp\src\Shell\src\UIApplicationShell.cs:line 433 column 5
at System.Windows.Forms.ThreadContext.OnThreadException(Exception)
at System.Windows.Forms.Application.OnThreadException(Exception)
at System.Windows.Forms.Timer.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.DoEvents()
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.OnUnitsUpdated(Double) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 308 column 4
at JetBrains.ReSharper.Shell.Progress.MyProgressIndicator.Advance(Double) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 73 column 7
at JetBrains.ReSharper.Shell.Progress.SubProgressIndicator.Advance(Double) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\Progress.cs:line 228 column 5
at JetBrains.ReSharper.Shell.Progress.SubProgressIndicator.Advance(Double) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\Progress.cs:line 228 column 5
at JetBrains.ReSharper.Shell.Progress.SubProgressIndicator.Advance(Double) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\Progress.cs:line 228 column 5
at JetBrains.dotTrace.SnapShotTree.UniversalSnapShotFile.SignatureCollectionData.FromStream(BinaryReader, UInt16, IProgressIndicator) in M:\Profiler\src\SnapshotTree\src\UniversalSnapShotFile\SignatureCollection.cs:line 31 column 14
at JetBrains.dotTrace.SnapShotTree.UniversalSnapShotFile.UniversalSnapShotFile..ctor(IProgressIndicator, String) in M:\Profiler\src\SnapshotTree\src\UniversalSnapShotFile\UniversalSnapShotFile.cs:line 65 column 19
at JetBrains.dotTrace.SnapShotTree.UniversalSnapShotFile.UniversalSnapShotFile.LoadWithProgressWindow(IProgressIndicator, String) in M:\Profiler\src\SnapshotTree\src\UniversalSnapShotFile\UniversalSnapShotFile.cs:line 23 column 7
at JetBrains.dotTrace.SnapshotManagement.SnapshotManagerImpl.OpenSnapshotInternal(String, IProgressIndicator) in M:\Profiler\src\Components\src\SnapShotManagement\impl\SnapshotManagerImpl.cs:line 92 column 5
at JetBrains.dotTrace.SnapshotManagement.SnapshotManagerImpl.OpenSnapShot(String, Boolean, IProgressIndicator) in M:\Profiler\src\Components\src\SnapShotManagement\impl\SnapshotManagerImpl.cs:line 72 column 7
at JetBrains.dotTrace.SnapshotManagement.Helper.OpenSnapShotAndCreateRootTabPage(IProgressIndicator) in M:\Profiler\src\Components\src\SnapShotManagement\OpenSnapShotFileAction.cs:line 92 column 5
at JetBrains.ReSharper.Shell.Progress.TaskHelper.Run() in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 227 column 11
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at JetBrains.UI.Interop.Win32Declarations.DispatchMessage(MSG&)
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.RunMessageLoop() in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 127 column 11
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.ExecuteTask(TaskHelper, String, Boolean, Boolean&) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 148 column 11
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.ExecuteTaskNonCancelable(TaskWithProgress, String) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 174 column 7
at JetBrains.dotTrace.SnapshotManagement.Helper.OpenSnapShotAndCreateRootTabPage() in M:\Profiler\src\Components\src\SnapShotManagement\OpenSnapShotFileAction.cs:line 82 column 5
at JetBrains.dotTrace.SnapshotManagement.OpenSnapShotFileAction.OpenTemporal(String, ITaskExecutor) in M:\Profiler\src\Components\src\SnapShotManagement\OpenSnapShotFileAction.cs:line 115 column 7
at JetBrains.dotTrace.ProfilerMainForm.LoadSnapShot(String) in M:\Profiler\src\Application\src\ProfilerMainForm.cs:line 44 column 5
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean, Assembly, Boolean)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object, BindingFlags, Binder, Object[], CultureInfo, Boolean)
at System.Delegate.DynamicInvokeImpl(Object[])
at System.MulticastDelegate.DynamicInvokeImpl(Object[])
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at JetBrains.dotTrace.PocketTasks.RunMainFormTask.Execute() in M:\Profiler\src\Application\src\PocketTasks\RunMainFormTask.cs:line 18 column 7
at JetBrains.dotTrace.ProfilerMainForm.Main(String[]) in M:\Profiler\src\Application\src\ProfilerMainForm.cs:line 101 column 9

2 comments

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=462

State of this request was changed from "Submitted" to "Open"

Priority: ?
Planned for version: ]]>

0

Please sign in to leave a comment.