Top-level Exception
Type: System.ObjectDisposedException
Message: Cannot access a disposed object.
Object name: 'RichTextBox'.
Source: System.Windows.Forms
Stack Trace: at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.TextBoxBase.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.RichTextBox.get_TextLength()
at System.Windows.Forms.TextBoxBase.AdjustSelectionStartAndEnd(Int32 selStart, Int32 selLength, Int32& start, Int32& end, Int32 textLen)
at System.Windows.Forms.TextBoxBase.GetSelectionStartAndLength(Int32& start, Int32& length)
at System.Windows.Forms.TextBoxBase.AppendText(String text)
at EspionSpotify.FrmEspionSpotify.WriteRtbLine(RichTextBox rtbLog, TranslationKeys resource, Object[] args)
at EspionSpotify.FrmEspionSpotify.<>c__DisplayClass37_0.<WriteIntoConsole>b__0()
at EspionSpotify.Extensions.ControlExtensions.SetPropertyThreadSafe[TControl](TControl control, MethodInvoker setter)
at EspionSpotify.Recorder.<WaveIn_RecordingStopped>d__32.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Operating System
-Microsoft Windows 10 Pro
--CodeSet = 1252
--CSDVersion =
--CurrentTimeZone = -480
--FreePhysicalMemory = 1446288
--OSArchitecture = 64-bit
--OSLanguage = 1033
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 10.0.19041
Machine
-WIN-KVA246VKC57
--Manufacturer = VMware, Inc.
--Model = VMware Virtual Platform
--TotalPhysicalMemory = 4294430720
Exception Report
Application: Spytify
Version: 1.8.0.0
Region:
Date: 2021-01-08
Time: 5:08 AM
Error Message: Cannot access a disposed object.
Object name: 'RichTextBox'.
Stack Traces
Assembly References
System Info