Page 1 of 2

Constant crash when login

PostPosted: Wed Dec 31, 2014 5:50 pm
by psyfreak
Hi,

Today i had to delete the Salem file and re install the latest version of Java (Version 8 update 25). Ever since, i have been trying to login with the basic client and keep getting this error.

java.lang.RuntimeException: Delayed error in resource paginae/skills/pottery (v4), from forking source backed by HTTP res source (http://game.salemthegame.com/res/)
at haven.Resource.checkerr(Resource.java:1503)
at haven.Resource.layer(Resource.java:1387)
at haven.Resource.layer(Resource.java:1396)
at haven.CharWnd$SkillList$1.compare(CharWnd.java:172)
at haven.CharWnd$SkillList$1.compare(CharWnd.java:168)
at java.util.TimSort.countRunAndMakeAscending(Unknown Source)
at java.util.TimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at haven.CharWnd$SkillList.tick(CharWnd.java:194)
at haven.Widget.tick(Widget.java:490)
at haven.Widget.tick(Widget.java:490)
at haven.GameUI.tick(GameUI.java:500)
at haven.Widget.tick(Widget.java:490)
at haven.UI.tick(UI.java:134)
at haven.HavenPanel.run(HavenPanel.java:439)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource paginae/skills/pottery(v4), from forking source backed by HTTP res source (http://game.salemthegame.com/res/)
at haven.Resource$Loader.handle(Resource.java:442)
at haven.Resource$Loader.run(Resource.java:416)
... 1 more
Caused by: java.io.IOException: Invalid Http response
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at haven.Resource$HttpSource.get(Resource.java:366)
at haven.Resource$TeeSource.get(Resource.java:262)
at haven.Resource$Loader.handle(Resource.java:435)
... 2 more


It looks like it can't connect to the server to download some required file. I did made sure that the game was online.
When i go in the salem folder, there are some files missing that usually get downloaded during the first login.

Anyone got an idea how to fix this?

Thanks

Re: Constant crash when login

PostPosted: Wed Dec 31, 2014 6:26 pm
by Rololas
either lower your security settings and/or download java 6/7

Re: Constant crash when login

PostPosted: Wed Dec 31, 2014 6:31 pm
by MagicManICT
Rololas wrote:either lower your security settings and/or download java 6/7


has nothing to do with this issue. Recommending or using an older, unsupported version of Java is just asking to get hacked. Java has enough security holes at it is without leaving your back doors open to known hacks.

Re: Constant crash when login

PostPosted: Wed Dec 31, 2014 7:56 pm
by Rololas
try to run salem at max security then, it doesnt work on my end.

Re: Constant crash when login

PostPosted: Wed Dec 31, 2014 8:16 pm
by psyfreak
I ended up taking the .jar file from the Latikai client and run that in order to have salem work. For now the Latikai client is working but not the original client (still have same errors).

The problem i have (and i think it's related to the original one) is that i was exploring with one of my character when the game crashed and now i can't log back on it since i keep having the following error.

java.lang.RuntimeException: Delayed error in resource gfx/terobjs/herbs/turkscap (v1), from forking source backed by HTTP res source (http://game.salemthegame.com/res/)
at haven.Resource.checkerr(Resource.java:1512)
at haven.Resource.layer(Resource.java:1396)
at haven.Resource.layer(Resource.java:1405)
at haven.Resource.getcode(Resource.java:1049)
at haven.Sprite.create(Sprite.java:107)
at Equed.<init>(Equed.java:15)
at sun.reflect.GeneratedConstructorAccessor40.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at haven.Utils.construct(Utils.java:1062)
at haven.Sprite$2.create(Sprite.java:79)
at haven.Sprite.create(Sprite.java:109)
at haven.Gob.ctick(Gob.java:117)
at haven.OCache.ctick(OCache.java:74)
at haven.Glob.ctick(Glob.java:210)
at haven.HavenPanel.run(HavenPanel.java:445)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/terobjs/herbs/turkscap(v1), from forking source backed by HTTP res source (http://game.salemthegame.com/res/)
at haven.Resource$Loader.handle(Resource.java:446)
at haven.Resource$Loader.run(Resource.java:420)
... 1 more
Caused by: java.io.IOException: Invalid Http response
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at haven.Resource$HttpSource.get(Resource.java:370)
at haven.Resource$TeeSource.get(Resource.java:266)
at haven.Resource$Loader.handle(Resource.java:439)
... 2 more


I really think that working on the client and optimizing it should be done since after every patch i feel the client becoming more and more buggy and slow (very slow!). And no i don't have a ****** computer ;)

Also i did all the java security stuff. Nothing works.

Re: Constant crash when login

PostPosted: Thu Jan 01, 2015 7:35 am
by shizuka
related or not, ive lately crash more and more often while going out of a mine or a church is there anything i can "fix/do' about it
i use both ender and latikai

for some reason it was fine weeks ago.

plus the error message i get is :

Haven error!
An error has occured!

im not very good with computers/informatics etc so i dont know what to do as it has become annoying to crash every minute


should i uninstall ender/haven?

Re: Constant crash when login

PostPosted: Thu Jan 01, 2015 7:22 pm
by JohnCarver
Psyfreak has an issue of trying to load an 'older' version of the flower than the server is currently using. The last time I debugged this it was somebody from a work computer that prohibited downloading of resources in some way. I must admit I'm not entirely sure why the occasional player begins using a computer that 'disallows' the downloading of new updated resources.

As for Shizuka, I'll need the crash report to try to see what you might be experiencing.

Re: Constant crash when login

PostPosted: Thu Jan 01, 2015 7:29 pm
by shizuka
is that what you call a crash report? if yes well thats what i get when its written Haven error (on salem while getting out of my mine) and then click on 'details':

java.lang.RuntimeException: java.lang.NullPointerException
at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:103)
at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:206)
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
at javax.media.opengl.Threading.invoke(Threading.java:191)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:528)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:418)
at haven.HavenPanel.run(HavenPanel.java:451)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at haven.FastMesh$DLCompiler$DLCompiled.draw(FastMesh.java:140)
at haven.FastMesh.draw(FastMesh.java:317)
at haven.MapMesh$Layer.draw(MapMesh.java:318)
at haven.RenderList.render(RenderList.java:232)
at haven.RenderList.render(RenderList.java:249)
at haven.PView.draw(PView.java:253)
at haven.MapView.draw(MapView.java:932)
at haven.Widget.draw(Widget.java:514)
at haven.Widget.draw(Widget.java:519)
at haven.GameUI.draw(GameUI.java:565)
at haven.Widget.draw(Widget.java:514)
at haven.Widget.draw(Widget.java:519)
at haven.RootWidget.draw(RootWidget.java:80)
at haven.UI.draw(UI.java:162)
at haven.HavenPanel.redraw(HavenPanel.java:296)
at haven.HavenPanel$1.display(HavenPanel.java:92)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:649)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:633)
at javax.media.opengl.awt.GLCanvas$9.run(GLCanvas.java:1271)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1103)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:978)
at javax.media.opengl.awt.GLCanvas$10.run(GLCanvas.java:1282)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$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)

Re: Constant crash when login

PostPosted: Thu Jan 01, 2015 9:38 pm
by JohnCarver
How often?

Re: Constant crash when login

PostPosted: Thu Jan 01, 2015 10:29 pm
by MagicManICT
Rololas wrote:try to run salem at max security then, it doesnt work on my end.


You need to add an exception for the Salem servers. See this post: viewtopic.php?f=10&t=8388&start=20#p167676. The standard client should run with default security settings with an exception because Mortal Moments have obtained a security certificate. Custom clients will need to have exceptions to run a Web Start launcher app.