Page 1 of 1

Error on starting Client

PostPosted: Tue Oct 09, 2012 8:58 pm
by Jamilian
Hi,
a friend of mine can't login, because he gets a white screen and this error:

java.lang.Error: java.lang.reflect.InvocationTargetException
at haven.MainFrame.javabughack(MainFrame.java:389)
at haven.MainFrame.main2(MainFrame.java:402)
at haven.MainFrame.access$1(MainFrame.java:399)
at haven.MainFrame$8.run(MainFrame.java:472)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at haven.MainFrame.javabughack(MainFrame.java:380)
... 4 more
Caused by: java.lang.ExceptionInInitializerError
at haven.MainFrame$5.run(MainFrame.java:383)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/loginscr (v-1), from local res source
at haven.Resource.checkerr(Resource.java:1405)
at haven.Resource.layer(Resource.java:1290)
at haven.Resource.layer(Resource.java:1299)
at haven.Resource.loadtex(Resource.java:1421)
at haven.LoginScreen.<clinit>(LoginScreen.java:48)
... 15 more
Caused by: haven.Resource$LoadException: Could not find resource locally: gfx/loginscr
at haven.Resource$JarSource.get(Resource.java:333)
at haven.Resource$Loader.handle(Resource.java:445)
at haven.Resource$Loader.run(Resource.java:425)
at java.lang.Thread.run(Unknown Source)

Any Ideas?
It seems like the client would not have been loaded properly. ("Could not find resource locally: gfx/loginscr")

Re: Error on starting Client

PostPosted: Tue Oct 09, 2012 11:33 pm
by MagicManICT
Try clearing Salem from Java's cache. This might fix the problem (bad download), it might not. There are a couple of other possible fixes, but this is the easy one.

One other I can think of has to do with network security software. This includes any built into your network router. Make sure Salem (or Java apps in general) are allowed. Making sure the right ports are open may be necessary (TCP 1871, UDP 1870).

Re: Error on starting Client

PostPosted: Wed Oct 10, 2012 12:18 am
by jmogler
How do you clear Salem from javas cache?

Re: Error on starting Client

PostPosted: Wed Oct 10, 2012 12:37 am
by MagicManICT
Open up the Java control panel (depends on OS). On the "General" tab, click the "View..." button. You can clear out specific apps here. If you click "Settings..." you can clear out all temporary files.

Re: Error on starting Client

PostPosted: Wed Oct 10, 2012 12:41 am
by jmogler
How do you open the Java control panel.

Re: Error on starting Client

PostPosted: Wed Oct 10, 2012 1:04 am
by staxjax
Start>Control Panel>Java