Error When selecting Stream to Device


#1

Hi, i get the following error when selecting my lg home cinema. However the icon appears on the tv , i can select the stream but when i press play i get a network error from the Home cinema.

Microsoft .NET Framework
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at OpenSource.UPnP.UPnPService.GetReceiver()
at SWYH.UPnP.DvContentDirectory.GetMusItem(String id, String parentID, String restricted, String title, String artist, String album, String genre, String duration, String bitrate, String sampleFrequency, String nrAudioChannels, String bitsPerSample, String protocolInfo, String resFileName, String upnpClass)
at SWYH.UPnP.DvContentDirectory.GetMp3StreamItem()
at SWYH.UPnP.DvContentDirectory.GetWasapiMediaItem()
at SWYH.App.streamMenu_RendererSelected(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.96.0 built by: NETFXREL2STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

SWYH
Assembly Version: 1.4.0.0
Win32 Version: 1.4.15278.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/SWYH.exe

PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

UPNPAV_RendererStack
Assembly Version: 1.0.4569.26839
Win32 Version: 1.0.4569.26839
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/UPNPAV_RendererStack.DLL

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.93.0 built by: NETFXREL2STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

PresentationFramework.Aero2
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll

UPnP
Assembly Version: 1.0.4701.41113
Win32 Version: 1.0.4701.41113
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/UPnP.DLL

UPNP_AV
Assembly Version: 1.0.4569.26838
Win32 Version: 1.0.4569.26838
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/UPNP_AV.DLL

NAudio
Assembly Version: 1.7.3.0
Win32 Version: 1.7.3.0
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/NAudio.DLL

NAudio.Lame
Assembly Version: 1.0.2.33669
Win32 Version: 1.0.2.33669
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/NAudio.Lame.DLL

LameDLLWrap
Assembly Version: 1.0.5071.33669
Win32 Version: 1.0.2.33669
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/NAudio.Lame.dll

UPNPAVCDSML
Assembly Version: 1.0.4569.26838
Win32 Version: 1.0.4569.26838
CodeBase: file:///C:/Program%20Files%20(x86)/Stream%20What%20You%20Hear/UPNPAVCDSML.DLL

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging=“true” />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


#2

I have exactly the same error and now clue why it occurs. Just pushing this, maybe someone has an idea?


#3

Install the previous build of version 1.4. I had the same issue with the latest build. You’ll have to get it from the GitHub repo.

This is the link to the previous build:
https://github.com/StreamWhatYouHear/SWYH/releases/download/1.4.15154.0/SWYH_1.4.exe

This is the link to the problematic one on Windows 10:
https://github.com/StreamWhatYouHear/SWYH/releases/download/1.4.15278.0/SWYH_1.4.exe


#4

Hi,

Sorry for that, this is a regression on the build 15278 when I fix the issue #4 (URI based on the receiver when multiple network interfaces).

It’s now fixes. You can download the new version (build 15316) on the download page.

Thank’s unboundedsol for the github’s issue !