getmusicbee.com
Support => Bug Reports => Topic started by: Hypolitus on June 17, 2016, 11:54:52 AM
-
I'm getting an unhandled exception when I first change the view in the main panel (Albums and Tracks, Artists, Album Covers, etc) after opening the application. This is happening whether I use a hotkey or the menu. It can be avoided by switching to a different Filter and then back again, after which, changing views causes no problems at all, but the problem returns next time the application is opened.
Here are the exception details:
--------------------------------------------------------------------------------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: DragDrop registration did not succeed. ---> System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
--- End of inner exception stack trace ---
at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at #=ql1Mc3YfCdOu3P2CCFrTqZ2uJsf6jTlD9SoYH$IhFEhw=.WndProc(Message& #=q47ICKrxRFWZ4zm9aglk8YA==)
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.1076.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
MusicBee
Assembly Version: 3.0.6007.34903
Win32 Version: 3.0.6007.34903
CodeBase: file:///C:/Program%20Files%20(x86)/MusicBee/MusicBee.exe
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.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
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.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.1055.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.1067.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Interop.PortableDeviceApiLib
Assembly Version: 1.0.0.0
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/MusicBee/Interop.PortableDeviceApiLib.DLL
----------------------------------------
MusicBeeIPod
Assembly Version: 1.6.0.0
Win32 Version: 1.6.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/MusicBee/MusicBeeIPod.DLL
----------------------------------------
mb_TheaterModePlugin
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/MusicBee/Plugins/mb_TheaterModePlugin.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.
--------------------------------------------------------------------------------------------
-
After a bit more playing around, I've found that it's something to do with the Left Sidebar or the Navigator Panel having been shown. If I open the application with the Left Sidebar on auto-hide and change view without the Left Sidebar having been shown, then I get the unhandled exception. If I flick over to the left and expand the sidebar briefly, then there's no problem subsequently changing view.
-
could you send me a link to your settings file when its in a state that this happens (help/ support/ view settings)
-
Yes, just done it.
-
this should be fixed now:
http://musicbee.niblseed.com/V3_0/MusicBee3_Patched.zip
unzip into the folder MB is installed
-
Yes, that's done it. Thanks!
-
I just got the same error on version 3.4.8233
I wasn't interacting with the application, just letting it play music while minimized. It then stopped playing music and when I look at the application, it is frozen and unresponsive, eventually throwing an error showing the stack trace above.
Let me know if you want me to send you my settings file.
-
I just got the same error on version 3.4.8233
Since the issue was fixed for the previous user, I suggest you update to the latest version of MB from the first forum topic. It's more than likely the issue has been fixed, but since you're running a version that's more than three years old, you should be using the current version first and before you file any bug reports.