Phred, I and I'm sure BoringName are reading them I assure you.
First off, an apology to sveakul and BoringName for my harsh, defeatist attitude last night. I know you guys are trying to help but I was getting frustrated and it showed in my tone.
Trying 2.6.2 doesn't solve the issue, but is perhaps providing another clue or two since it's now a different error message.
- brand new, naked, default configuration of MB Portable 3.6.9101 P
- installed the plugin via the "add plugins' button on the plugin preferences window
- exited MB and before restarting I checked and confirmed that the dll, default skins, and ini were all where they're supposed to be
- noticed that the ini entry for <skin folder> was empty but left it that way for this test
- launched MB and got this error before doing anything, which appears to be a different error than what I posted yesterday with v5.2.1 (...
System.OverflowException: Value was either too large or too small for an Int32...."
MusicBee v3.6.9101.34338P (Win10.0), 8 Dec 2024 11:22:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at MusicBeePlugin.VUMeter.DrawTextCustom(Int32 x, Int32 y, Int32 r, Int32 g, Int32 b, String font, Single fontSize, String fontStyle, String text)
at MusicBeePlugin.VUMeter.OpenGLControl_OpenGLDraw(Object sender, OpenGLRoutedEventArgs args)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at SharpGL.WPF.OpenGLControl.DoRender()
at MusicBeePlugin.VUMeter.RenderEventProcessor(Object myObject, EventArgs myEventArgs)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- clicked 'copy error' and got error window "unable to coy the error text to the clipboard"
- copied it manually via CTRL-A, CTRL-C, and then pasting it here
- clicked OK on the 'unable to copy...' error window and it closed
- clicked OK on the initial error window and the window doesn't close. Yesterday with 2.6 and 2.5.1 the window closed and also crashed MB
- used task manager to exit MB
- edited ini file and added the proper path to the <skinFolder> element
- restarted MB and got what appears to be the same error
MusicBee v3.6.9101.34338P (Win10.0), 8 Dec 2024 11:29:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at MusicBeePlugin.VUMeter.DrawTextCustom(Int32 x, Int32 y, Int32 r, Int32 g, Int32 b, String font, Single fontSize, String fontStyle, String text)
at MusicBeePlugin.VUMeter.OpenGLControl_OpenGLDraw(Object sender, OpenGLRoutedEventArgs args)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at SharpGL.WPF.OpenGLControl.DoRender()
at MusicBeePlugin.VUMeter.RenderEventProcessor(Object myObject, EventArgs myEventArgs)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- clicking OK on the error window does not close it and MB will not close unless I kill it with task manager
- removed all files relating to VUMeter plugin and restarted MB and it's fine
- It's not even noon here on the east coast of the US, but it's got to be five o'clock somewhere and I'm going to an adult beverage or two