- March 26, 2007
- 3,715
- 180
- Home Country
- Germany
When starting MediaPortal with Visual Studio Debugger and starting an Last.FM stream, VS will break and throw an ObjectDisposedException:
System.ObjectDisposedException was unhandled by user code
Message="Cannot read from a closed TextReader."
Source="mscorlib"
ObjectName=""
StackTrace:
at System.IO.__Error.ReaderClosed()
at System.IO.StreamReader.ReadLine()
at MediaPortal.Utils.Web.AsyncGetRequest.SendWorkerRequest(String targetURL, Int32 delayMSecs) in C:\Users\DieBagger\Documents\Work\Projects\Desktop\MediaPortal\MediaPortal1\Clean\mediaportal\Utils\Web\http\AsyncGetRequest.cs:line 150
at MediaPortal.Utils.Web.AsyncGetRequest.RequestWorker_DoWork(Object sender, DoWorkEventArgs e) in C:\Users\DieBagger\Documents\Work\Projects\Desktop\MediaPortal\MediaPortal1\Clean\mediaportal\Utils\Web\http\AsyncGetRequest.cs:line 64
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
InnerException:
When continued the plugin works fine and it only happens when started in VS but this could potentially cause problems in other areas of MP as well.
http://mantis.team-mediaportal.com/view.php?id=3119
Open the issue in Mantis...
System.ObjectDisposedException was unhandled by user code
Message="Cannot read from a closed TextReader."
Source="mscorlib"
ObjectName=""
StackTrace:
at System.IO.__Error.ReaderClosed()
at System.IO.StreamReader.ReadLine()
at MediaPortal.Utils.Web.AsyncGetRequest.SendWorkerRequest(String targetURL, Int32 delayMSecs) in C:\Users\DieBagger\Documents\Work\Projects\Desktop\MediaPortal\MediaPortal1\Clean\mediaportal\Utils\Web\http\AsyncGetRequest.cs:line 150
at MediaPortal.Utils.Web.AsyncGetRequest.RequestWorker_DoWork(Object sender, DoWorkEventArgs e) in C:\Users\DieBagger\Documents\Work\Projects\Desktop\MediaPortal\MediaPortal1\Clean\mediaportal\Utils\Web\http\AsyncGetRequest.cs:line 64
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
InnerException:
When continued the plugin works fine and it only happens when started in VS but this could potentially cause problems in other areas of MP as well.
http://mantis.team-mediaportal.com/view.php?id=3119
Open the issue in Mantis...