#81- Controls created on one thread cannot be parented to a control on a different thread. (TabControlX.InsertPage)

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=81
102
System.ArgumentException: Controls created on one thread cannot be parented to a control on a different thread.
at System.Windows.Forms.ControlCollection.Add(Control value)
at System.Windows.Forms.ControlCollection.Add(Control value)
at System.Windows.Forms.TabPageCollection.Add(TabPage value)
at JetBrains.ReSharper.CommonControls.TabControlX.InsertPage(Int32 pos, ITabPage tabPage)
at JetBrains.ReSharper.CommonControls.TabControlX.AddPage(ITabPage tabPage)
at JetBrains.Profiler.PageManager.TabPageCollection.Add(TabPageControlBase value)
at JetBrains.Profiler.ProfilerMainForm.OnSnapShotChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at JetBrains.Profiler.Components.SnapShotManagement.SnapShotManagerImpl.OpenTemporalSnapShot(String filename)
at JetBrains.Profiler.ProfilerMainForm.OnSnapShotSavedByProfiler(Object sender, SnapShotSavedEventArg arg)
at JetBrains.Profiler.Components.ProfilerStarter.ProfilerControler.OnTimerTick(Object sender, EventArgs e)
at JetBrains.Profiler.Components.ProfilerStarter.ProfilerControler.OnProfilerFinished(Object sender, EventArgs e)
at JetBrains.Profiler.Components.ProfilerStarter.ApplicationProfiler.OnProcessExited(Object sender, EventArgs e)
at System.Diagnostics.Process.OnExited()
at System.Diagnostics.Process.RaiseOnExited()
at System.Diagnostics.Process.CompletionCallback(Object context, Boolean wasSignaled)

0
3 comments

Profiling a console app that has a Console.Readline() before the point I want to start profiling. I hit Start in the profiler, saw some weird Iter0=nnnnn and IterN=nnnnnnn lines, the app ran, exited and then I got this error from the profiler as it was about to display the results.
102
System.ArgumentException: Controls created on one thread cannot be parented to a control on a different thread.
at System.Windows.Forms.ControlCollection.Add(Control value)
at System.Windows.Forms.ControlCollection.Add(Control value)
at System.Windows.Forms.TabPageCollection.Add(TabPage value)
at JetBrains.ReSharper.CommonControls.TabControlX.InsertPage(Int32 pos, ITabPage tabPage)
at JetBrains.ReSharper.CommonControls.TabControlX.AddPage(ITabPage tabPage)
at JetBrains.Profiler.PageManager.TabPageCollection.Add(TabPageControlBase value)
at JetBrains.Profiler.ProfilerMainForm.OnSnapShotChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at JetBrains.Profiler.Components.SnapShotManagement.SnapShotManagerImpl.OpenTemporalSnapShot(String filename)
at JetBrains.Profiler.ProfilerMainForm.OnSnapShotSavedByProfiler(Object sender, SnapShotSavedEventArg arg)
at JetBrains.Profiler.Components.ProfilerStarter.ProfilerControler.OnTimerTick(Object sender, EventArgs e)
at JetBrains.Profiler.Components.ProfilerStarter.ProfilerControler.OnProfilerFinished(Object sender, EventArgs e)
at JetBrains.Profiler.Components.ProfilerStarter.ApplicationProfiler.OnProcessExited(Object sender, EventArgs e)
at System.Diagnostics.Process.OnExited()
at System.Diagnostics.Process.RaiseOnExited()
at System.Diagnostics.Process.CompletionCallback(Object context, Boolean wasSignaled)

0

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

State of this request was changed from "Submitted" to "Need to Verify"

Fixed in build: 104

0

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

State of this request was changed from "Need to Verify" to "Fixed"

Fixed in build: 104

0

Please sign in to leave a comment.