1
Bug Reports / Cannot load/save database due to "Destination array was not long enough"
« on: April 08, 2024, 03:43:19 AM »
I recently been getting an error every time I open MusicBee where my database is detected as corrupt and the previous version of it loads in. If I scan my library, let it complete, and reopen MusicBee again, the same thing occurs. I do use an automatic naming scheme that already has a method of keeping character limits under 250, as I'm using MusicBee on Windows.
I'm not sure if this has anything to do with the below error which is taken when I opened MusicBee:
I'm not sure if that has anything to do with when I open back up, which gives me the following error:
The files aren't corrupt and are perfectly playable, so this confuses me.
Here's the string I use for naming my files:
I have like 30k tracks so scanning my tracks I added in over and over again every time I launch MusicBee isn't too practical.
Code
error loading associated files: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Code
M:\Music\D\David Bowie\[1977] Heroes\David Bowie - Heroes - 1 04 - Sons Of The Silent Age [Remastered].mp3
4/3/2024 9:29:18 PM - error loading associated files: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Code
4/3/2024 9:56:57 PM - folder monitor failed: The system cannot find the path specified.
M:\Music\H\Hanz Zimmer\[2005] Madagascar OST\James Dooley - Madagascar OST - 1 B\Brad Paisley\[2016] Christmas Country\05 - B. J. Thomas.mp3
4/3/2024 11:17:33 PM - 10.0.22631.0 - 3.5.8698.34385P - System.NullReferenceException: Object reference not set to an instance of an object.
at #=zrHxbKbKSSpgwvOQhk_k8Zbo=.#=zxPBnrelWvE7V(List`1 #=z7WyInvQ=)
at #=zrHxbKbKSSpgwvOQhk_k8Zbo=.#=zW1HsXew7kBgN(List`1 #=z7WyInvQ=)
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zRA38$x7htNRg.#=zZwrqXpNiyW6Y(BinaryWriter #=zoUxKRE4=, #=zrHxbKbKSSpgwvOQhk_k8Zbo= #=z_LPN_w8=)
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zRA38$x7htNRg.#=zIDwjypc=(BinaryWriter #=zoUxKRE4=, #=zrHxbKbKSSpgwvOQhk_k8Zbo= #=z_LPN_w8=)
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zRA38$x7htNRg.#=zKlxbhhiaGfGf(FileStream #=zpiz4leQ=)
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zpaF8N$qd5sup.#=zW2MXBI0vtY$V(Boolean #=zFrVSS_N3wLHid$BdrA==)
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zpaF8N$qd5sup.#=zR$pFUbcqH880()
at #=zLOCqjAQb_n7nGSIoJBLyEMw=.#=zsAm07HwXmz8z()
at #=zNw1gc6dmr6WcbwzSi_PPhpuKB_Qz.#=z4MX56lI=.#=z6TdWG9I=(CloseReason #=zFs60cqA=)
4/7/2024 9:27:27 PM - 10.0.22631.0 - 3.5.8698.34385P - System.IO.InvalidDataException: Found invalid data while decoding.
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zRA38$x7htNRg.#=znYCTaug=(FileStream #=zpiz4leQ=)
at #=z$GDSv8hRlR$A95YRQDlYw74=.#=zpaF8N$qd5sup.#=z$LVgOh2R4clFGsn7Lw==(#=zOPAFmqxyWq4nEsXBtA== #=z1bX7GopeSWGH)
The files aren't corrupt and are perfectly playable, so this confuses me.
Here's the string I use for naming my files:
Code
$Left($Group(<Sort Album Artist>,1)\<Sort Album Artist>\[<Year>"] "<Album>\$Left(<Artist>,20)" - "$Left(<Album>,25)" - "<Disc#>" "<Track#>" - "<Title>,258)
I have like 30k tracks so scanning my tracks I added in over and over again every time I launch MusicBee isn't too practical.