Bliss - a peaceful-like experience

Bliss - a peaceful-like experience

18.7k Downloads

Music mod causing crash with null object

Jamroot opened this issue ยท 8 comments

commented

crash-2022-05-31_08.23.56-client.txt
crash-2022-05-31_09.13.29-client.txt
crash-2022-05-31_08.07.06-client.txt

Sadly as I'm not too familiar with minecraft's code the most information I can give is what can be gathered by a cursory view of the crash report- however I shall still include it.
Issue appears to be a null variable contained in a map object that is being used by the music controller mod.

Pack was downloaded from curseforge, Vazkii has helpfully noted the crash appears to be caused by the music mod while unpausing.

commented

I also had the very same issue; I reported it on the mod's issues page here, though thought it was important also to mention it here.

commented

Szunakabeats
yes this is the same issue

commented
commented

what version of bliss did you use i got the same crash with bliss 1.0.1

try for now till he fixed it turingin off music triggers mod
to do that need go in (if you use overwold launcher)

  1. 3 dots prifile options

atleast you can play it but not at fill experiance till he fix it ;)
3. Allow content management for this profile and check it
4. search in the mod list " Music Triggers" and the orange button and turn it OFF

commented

i think i had kind of the same crash with the music trigger mod
crash-2022-05-31_17.50.34-client.txt

commented

the issue appears to be localized to this file https://github.com/TheComputerizer/Music-Triggers/blob/main/src/main/java/mods/thecomputerizer/musictriggers/client/MusicPlayer.java#L439 at the specified line. Could be hotfixed by placing a try catch block and setting variables fadingOut, tempFadeOut, and saveVolOut to some default values in the case of a catch. This wont fix the underlying problem, as far as I can tell there must be some combination of control flow that results in this code block running when volumeLinker has a null value. As far as I can tell, this should only happen if either said control flow occurred at the exact moment the file was run, or this: https://github.com/TheComputerizer/Music-Triggers/blob/main/src/main/java/mods/thecomputerizer/musictriggers/config/ConfigToml.java confusingly named file returned a null value in some of its saved maps, which all appear to be tracking various bits of data.

(misclicked the close button when I commented this. Such a spazz.)

commented

It's outside the pack's scope. I'm just waiting on the music triggers update as much as all of you are

commented

why wontfix?