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

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=478
150
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\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 366
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.OnTimerTick(Object sender, EventArgs e) in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 354
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\tmp4915.tmp\src\Util\src\Logger.cs:line 285 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmp4915.tmp\src\Util\src\Logger.cs:line 297 column 5
at JetBrains.ReSharper.Shell.ShellBase.OnUnhandledException(Exception) in c:\TEMP\tmp4915.tmp\src\Shell\src\ShellBase.cs:line 130 column 5
at JetBrains.ReSharper.Shell.UIApplicationShell.Application_ThreadException(Object, ThreadExceptionEventArgs) in c:\TEMP\tmp4915.tmp\src\Shell\src\UIApplicationShell.cs:line 430 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\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 311 column 4
at JetBrains.ReSharper.Shell.Progress.MyProgressIndicator.Advance(Double) in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 73 column 7
at JetBrains.ReSharper.Shell.Progress.SubProgressIndicator.Advance(Double) in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\Progress.cs:line 228 column 5
at JetBrains.ReSharper.Shell.Progress.SubProgressIndicator.Advance(Double) in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\Progress.cs:line 228 column 5
at JetBrains.ReSharper.Shell.Progress.SubProgressIndicator.Advance(Double) in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\Progress.cs:line 228 column 5
at JetBrains.dotTrace.SnapShotTree.UniversalSnapShotFile.SignatureCollectionData.FromStream(BinaryReader, UInt16, IProgressIndicator)
at JetBrains.dotTrace.SnapShotTree.UniversalSnapShotFile.UniversalSnapShotFile..ctor(IProgressIndicator, String)
at JetBrains.dotTrace.SnapShotTree.UniversalSnapShotFile.UniversalSnapShotFile.LoadWithProgressWindow(IProgressIndicator, String)
at JetBrains.dotTrace.SnapshotManagement.SnapshotManagerImpl.OpenSnapshotInternal(String, IProgressIndicator)
at JetBrains.dotTrace.SnapshotManagement.SnapshotManagerImpl.OpenSnapShot(String, Boolean, IProgressIndicator)
at JetBrains.dotTrace.SnapshotManagement.Helper.OpenSnapShotAndCreateRootTabPage(IProgressIndicator)
at JetBrains.ReSharper.Shell.Progress.TaskHelper.Run() in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 229 column 13
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\tmp4915.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\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 148 column 11
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.ExecuteTaskNonCancelable(TaskWithProgress, String) in c:\TEMP\tmp4915.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 174 column 7
at JetBrains.dotTrace.SnapshotManagement.Helper.OpenSnapShotAndCreateRootTabPage()
at JetBrains.dotTrace.SnapshotManagement.OpenSnapShotFileAction.OpenTemporal(String, ITaskExecutor)
at JetBrains.dotTrace.ProfilerMainForm.LoadSnapShot(String) in M:\Profiler-Main\src\Application\src\ProfilerMainForm.cs:line 42 column 7
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-Main\src\Application\src\PocketTasks\RunMainFormTask.cs:line 18 column 7
at JetBrains.dotTrace.ProfilerMainForm.Main(String[]) in M:\Profiler-Main\src\Application\src\ProfilerMainForm.cs:line 102 column 9

4 comments

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

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

Priority: ?
Planned for version: 1.1

0

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

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

Priority: Normal
Planned for version: 1.1

0

Please sign in to leave a comment.