Hi boroda.
Thanks for looking.
The biggest problem is that errors and crashes are not always consistent, even if all steps are equal in each try.
Let me try a few:
OS Win11 Version 10.0.26100.4349
MB: 3.6.9202
AT&RT version: 10.0.9308.5310
Open AT&RT -> Library reports -> Albums & Tracks -> Click Preview.
AT&RT generates error log:
MusicBee v3.6.9202.37404D (Win10.0), 26 jun 2025 14:19:
System.ArgumentException: Ongeldige parameter.
bij System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
bij System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
bij System.Windows.Forms.Control.Invoke(Delegate method)
bij MusicBeePlugin.Plugin.CopyBitmap(Bitmap newBitmap) in D:\Repos\Additional-Tagging-Tools\Plugin\Main-Module.cs:regel 6408
bij MusicBeePlugin.LibraryReports.ResizedArtworkProvider.Init(Int32 artworkField, SortedDictionary`2 artworkCache, Int32 presetNewArtworkSize) in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 2382
bij MusicBeePlugin.LibraryReports.executePreset(String[] queriedFiles, Boolean interactive, Boolean saveResultsToTags, String functionId, Boolean filterResults, Boolean forceCacheUpdate, SortedDictionary`2[] queriedGroupingTagsRaw, SortedDictionary`2[] queriedActualGroupingTags, SortedDictionary`2[] queriedActualGroupingTagsRaw, Nullable`1 readOtherwiseProcessExcludedGroupingTags) in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 2899
bij MusicBeePlugin.LibraryReports.previewReport() in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 5671
bij MusicBeePlugin.PluginWindowTemplate.serializedOperation() in D:\Repos\Additional-Tagging-Tools\Helpers\PluginWindowTemplate.cs:regel 4302
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()
----------------------
Second identical procedure as above after restarting MB:
Open AT&RT -> Library reports -> Albums & Tracks -> Click Preview.
Nothing happens, no HDD activity, no CPU activity
Click Clear.
AT&RT generates error log:
MusicBee v3.6.9202.37404D (Win10.0), 26 jun 2025 14:24:
System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
bij MusicBeePlugin.LibraryReports.prepareBackgroundPreview() in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 5612
bij MusicBeePlugin.PluginWindowTemplate.clickOnPreviewButton(PrepareOperation prepareOperation, ThreadStart operation, Button previewButton, Button okButton, Button closeButton, Boolean clearPreview) in D:\Repos\Additional-Tagging-Tools\Helpers\PluginWindowTemplate.cs:regel 4682
bij MusicBeePlugin.LibraryReports.buttonPreview_Click(Object sender, EventArgs e) in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 6847
bij System.Windows.Forms.Control.OnClick(EventArgs e)
bij System.Windows.Forms.Button.OnClick(EventArgs e)
bij System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
bij System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bij System.Windows.Forms.Control.WndProc(Message& m)
bij System.Windows.Forms.ButtonBase.WndProc(Message& m)
bij System.Windows.Forms.Button.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Can close MB, cannot close AT&RT, need to close it in taskmanager.
Third try works.
----------------------------------------
Create own report:
Album, Artist, Conductor.
That works but if I add Artwork
AT&RT generates an error. Closing the error make MB crash.
MusicBee v3.6.9202.37404D (Win10.0), 26 jun 2025 15:10:
System.Collections.Generic.KeyNotFoundException: De gegeven sleutel is niet aanwezig in het woordenboek.
bij System.Collections.Generic.SortedDictionary`2.get_Item(TKey key)
bij MusicBeePlugin.LibraryReports.applyOnlyGroupingsPresetResults(String[] queriedFiles, SortedDictionary`2 filesActualComposedSplitGroupingTagsLists, Boolean interactive, Boolean filterResults) in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 3678
bij MusicBeePlugin.LibraryReports.executePreset(String[] queriedFiles, Boolean interactive, Boolean saveResultsToTags, String functionId, Boolean filterResults, Boolean forceCacheUpdate, SortedDictionary`2[] queriedGroupingTagsRaw, SortedDictionary`2[] queriedActualGroupingTags, SortedDictionary`2[] queriedActualGroupingTagsRaw, Nullable`1 readOtherwiseProcessExcludedGroupingTags) in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 2943
bij MusicBeePlugin.LibraryReports.previewReport() in D:\Repos\Additional-Tagging-Tools\Plugin\LibraryReports.cs:regel 5671
bij MusicBeePlugin.PluginWindowTemplate.serializedOperation() in D:\Repos\Additional-Tagging-Tools\Helpers\PluginWindowTemplate.cs:regel 4302
bij System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Threading.ThreadHelper.ThreadStart()
-------------------------------------
Generating CD Booklet:
All standard settings except resize artwork long side to 300px
Preview is fine but export to HTML Document (CD Booklet) generates this:
