You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Main error message: Exception in thread "main" java.lang.IllegalAccessError: Update to static final field de.ralleytn.simple.audio.Audio.$SWITCH_TABLE$de$ralleytn$simple$audio$FileFormat attempted from a different method ($SWITCH_TABLE$de$ralleytn$simple$audio$FileFormat) than the initializer method <clinit> at de.ralleytn.simple.audio.Audio.$SWITCH_TABLE$de$ralleytn$simple$audio$FileFormat(Audio.java:50) at de.ralleytn.simple.audio.Audio.getAudioInputStream(Audio.java:238) at de.ralleytn.simple.audio.StreamedAudio.open(StreamedAudio.java:288) at Audiotestable.main(Audiotestable.java:18)
Ok probably a dead repo, but just putting it here just in case anyone else stumbles upon it:
The binary (*JAR) released in the releases tab seems to be out of sync with the one as source, thus if you are going to use this, make sure to compile it yourself with dependencies instead of downloading the pre-existing one.
I tried this with a homemade compiled JAR and it worked flawlessly.
Main error message:
Exception in thread "main" java.lang.IllegalAccessError: Update to static final field de.ralleytn.simple.audio.Audio.$SWITCH_TABLE$de$ralleytn$simple$audio$FileFormat attempted from a different method ($SWITCH_TABLE$de$ralleytn$simple$audio$FileFormat) than the initializer method <clinit> at de.ralleytn.simple.audio.Audio.$SWITCH_TABLE$de$ralleytn$simple$audio$FileFormat(Audio.java:50) at de.ralleytn.simple.audio.Audio.getAudioInputStream(Audio.java:238) at de.ralleytn.simple.audio.StreamedAudio.open(StreamedAudio.java:288) at Audiotestable.main(Audiotestable.java:18)
My code:
The text was updated successfully, but these errors were encountered: