Unable to initialize midi player?

If you found a bug in Illarion or need help ask here. / Wenn Du einen Fehler in Illarion gefunden hast oder Hilfe benötigst, frage hier.

Moderator: Developers

Post Reply
User avatar
TiaSarah
Posts: 969
Joined: Tue Mar 10, 2009 9:05 am
Location: Corn country USA
Contact:

Unable to initialize midi player?

Post by TiaSarah »

I enter the game, and after a minute it tells me that it cannot launch the application... This is a copy of the error codes



Illarion Client V1.2 started Sat Apr 25 04:11:21 CDT 2009
LWJGL: 6.14.10.6599
VM: 1.6.0_13
OS: Windows XP 5.1 x86
Unable to initialize midi player
java.lang.NullPointerException
at com.sun.media.sound.HeadspaceSoundbank.initialize(Unknown Source)
at com.sun.media.sound.HeadspaceSoundbank.<init>(Unknown Source)
at com.sun.media.sound.HsbParser.getSoundbank(Unknown Source)
at javax.sound.midi.MidiSystem.getSoundbank(Unknown Source)
at illarion.client.sound.SongPlayer.<init>(SongPlayer.java:37)
at illarion.client.gui.Gui.<init>(Gui.java:107)
at illarion.client.world.Game.init(Game.java:73)
at illarion.client.IllaClient.<init>(IllaClient.java:149)
at illarion.client.IllaClient.main(IllaClient.java:666)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.StackOverflowError
at illarion.client.graphics.EffectFactory.getCommand(EffectFactory.java:56)


It repeats that last line many, many times... and then:


#### Java Web Start Error:
#### null


Help Please!
User avatar
Alsaya
Posts: 634
Joined: Wed Dec 03, 2008 5:47 pm
Location: Always right next to you
Contact:

Post by Alsaya »

Just a quick fix:

Turn off the sound in your client options this should solve the problem for now. I'm sure the devs are already working on it. :)
User avatar
TiaSarah
Posts: 969
Joined: Tue Mar 10, 2009 9:05 am
Location: Corn country USA
Contact:

Post by TiaSarah »

Another quick note, when I went to start the client before the error, it re-downloaded itself... Could that be part of the problem? I managed to get on for a bit, but I was booted again when a bee attacked me... Same error message.
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Post by Nitram »

The problem that the client failed at starting the midi player should be gone now. The reason was that I forgot to tell java to download the midi soundbank.

Nitram
User avatar
TiaSarah
Posts: 969
Joined: Tue Mar 10, 2009 9:05 am
Location: Corn country USA
Contact:

Post by TiaSarah »

Works now.. thank you!!!!
Post Reply