Skip to content

Report: Cannot access a disposed object. Object name: 'RichTextBox'. #324

@jwallet

Description

@jwallet

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

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()
 

Assembly References

  • ExceptionReporter.NET, Version=4.0.2.0
  • MetroFramework, Version=1.4.0.0
  • mscorlib, Version=4.0.0.0
  • NAudio, Version=1.9.0.0
  • NAudio.Lame, Version=1.0.9.26885
  • Newtonsoft.Json, Version=12.0.0.0
  • PCLWebUtility, Version=1.0.0.0
  • SpotifyAPI.Web, Version=1.0.0.0
  • SpotifyAPI.Web.Auth, Version=1.0.0.0
  • Spytify, Version=1.8.0.0
  • System, Version=4.0.0.0
  • System.Core, Version=4.0.0.0
  • System.Drawing, Version=4.0.0.0
  • System.IO.Abstractions, Version=7.0.0.0
  • System.Net.Http, Version=4.2.0.0
  • System.ValueTuple, Version=4.0.2.0
  • System.Windows.Forms, Version=4.0.0.0
  • System.Xml, Version=4.0.0.0
  • TagLibSharp, Version=2.2.0.0

System Info

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


Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions