Error with Illarion updater, cannot start client

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
Lhosseth
Posts: 60
Joined: Fri Oct 02, 2009 3:46 pm
Contact:

Error with Illarion updater, cannot start client

Post by Lhosseth »

Hello everyone. Can you please help me, I can't get the client to start.

When I download the Illarion updater and have it download and install all the new files, it stops right when it should be done. The states that it cannot open the selected application with an error: java.io.Printwriter@8aa1c8, or another number if I try again and I've tried a few many times. See error message in the attachment.

In IRC Mr. Llama had me check my Java version, my Java is build 1.7.0_10-b18.
I on a Mac, running OS X Lion 10.7.5

Please help me, I want to join you guys in the fun.
Thanks in advance.
Attachments
Illarion Updater error.png
Illarion Updater error.png (79.71 KiB) Viewed 2636 times
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: Error with Illarion updater, cannot start client

Post by Nitram »

Seems my bug reporting system has a bug...

The only thing you could try at this point is to enable the java console and receive the error data from there.

Todo so access:
"Applications" -> "Utilities" -> "Java Preferences"

In the window opening select the "Advanced" tab. The tree below should show you a entry "Java Console" where you should be able to choose "Show console".

The next time you start the Illarion Application Downloader it should open a small console window along with it. Once the error occures something like this should appear:

Code: Select all

FATAL - <Timestamp> - [main]: Error while launching application
and Below this a bunch of more lines. I need all those to identify your problem.

In case you don't want to do all this you have to wait until I fixed the error reporting so you get the information required from there.

Nitram
User avatar
Lhosseth
Posts: 60
Joined: Fri Oct 02, 2009 3:46 pm
Contact:

Re: Error with Illarion updater, cannot start client

Post by Lhosseth »

Thank you Nitram for helping me. I did as you said and this is what the console reads starting from 'error while launching application':

Code: Select all

FATAL - 2013-01-03 06:51:51,058 - [javawsApplicationMain]: Error while launching application
java.io.IOException: Cannot run program "/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" (in directory "/Users/Petra/Documents/Illarion"): error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	at illarion.download.tasks.launch.Launcher.launch(Launcher.java:146)
	at illarion.download.install.Installation.launch(Installation.java:157)
	at illarion.download.install.Installation.main(Installation.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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(Thread.java:722)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
	at java.lang.ProcessImpl.start(ProcessImpl.java:130)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
	... 12 more
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: Error with Illarion updater, cannot start client

Post by Nitram »

Okay. Thats something.
It appears the launcher can't launch a new instance of Java

Is java avaiable under this path:

Code: Select all

/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
?

Nitram
User avatar
Lhosseth
Posts: 60
Joined: Fri Oct 02, 2009 3:46 pm
Contact:

Re: Error with Illarion updater, cannot start client

Post by Lhosseth »

Yes, this seems to be the case.

On my 'Macintosh HD' I have: Library/Internet Plug-Ins/JavaAppletPlugin.plugin. This .plugin is a package, when I open the contents it has: Contents/Home/bin/java
Last edited by Lhosseth on Fri Jan 04, 2013 9:06 pm, edited 1 time in total.
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: Error with Illarion updater, cannot start client

Post by Nitram »

Could you try to run "java" in the command line and see if java answers? Or if you get some error message?
User avatar
Lhosseth
Posts: 60
Joined: Fri Oct 02, 2009 3:46 pm
Contact:

Re: Error with Illarion updater, cannot start client

Post by Lhosseth »

Java seems to have no problem running. I did a test on http://www.java.com/en/download/testjava.jsp and it says my java is working fine.

I've asked my partner to try on his Mac and he got the same error (displayed in the launcher window). His observation of the error was that the code refers to the location of java as "/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java", however the backslash before Plug-Ins is not used in the location of java, hence the location is not recognised. Could this be the case?
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: Error with Illarion updater, cannot start client

Post by Nitram »

I guess because JavaAppletPlugin.plugin is some sort of archive java has trouble launching it. I will add a alternative method to launch java with the next update. Hopefully this one will work.

Nitram
User avatar
Nitram
Developer
Posts: 7638
Joined: Fri Oct 31, 2003 9:51 am
Contact:

Re: Error with Illarion updater, cannot start client

Post by Nitram »

The new updater is live. Please try it again.
User avatar
Lhosseth
Posts: 60
Joined: Fri Oct 02, 2009 3:46 pm
Contact:

Re: Error with Illarion updater, cannot start client

Post by Lhosseth »

Awesome! It works now, I'm in. Thank you Nitram :)
Post Reply