Crashing after logged in

The worst monsters in the Hearthlands warp the fabric of space and time..
x0m9k
Posts: 2
Joined: Wed Aug 17, 2011 12:05 am

Crashing after logged in

Post by x0m9k »

I successfuly logged in but after authentification and connecting i see black screen and after ~3 seconds i see an crash report:

Code: Select all

java.lang.RuntimeException: Delayed error in resource gfx/tiles/gold/gold (v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
	at haven.Resource.checkerr(Resource.java:1058)
	at haven.Resource.layer(Resource.java:941)
	at haven.MCache.loadset(MCache.java:139)
	at haven.MCache.tilemap(MCache.java:433)
	at haven.Session$RWorker.handlerel(Session.java:372)
	at haven.Session$RWorker.getrel(Session.java:383)
	at haven.Session$RWorker.run(Session.java:451)
Caused by: haven.Resource$LoadException: Load error in resource gfx/tiles/gold/gold(v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
	at haven.Resource$Loader.handle(Resource.java:401)
	at haven.Resource$Loader.run(Resource.java:375)
	at java.lang.Thread.run(Unknown Source)
Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at haven.Resource$HttpSource.get(Resource.java:330)
	at haven.Resource$TeeSource.get(Resource.java:225)
	at haven.Resource$Loader.handle(Resource.java:395)
	... 2 more
Caused by: java.lang.RuntimeException: Could not generate DH keypair
	at sun.security.ssl.DHCrypt.<init>(Unknown Source)
	at sun.security.ssl.ClientHandshaker.serverKeyExchange(Unknown Source)
	at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)
	at sun.security.ssl.Handshaker.processLoop(Unknown Source)
	at sun.security.ssl.Handshaker.process_record(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
	... 11 more
Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
	at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:120)
	at java.security.KeyPairGenerator$Delegate.initialize(Unknown Source)
	... 18 more
English is not my native language.

(i am no good english speak)
User avatar
Momoka
Posts: 46
Joined: Sun Jul 17, 2011 6:21 am

Re: Crashing after logged in

Post by Momoka »

You are running Ender's right?

It has some custom files it need from a /res directory.

Make sure you have a -r [RES FOLDER], typically -r .\res in Windows I believe. I am not sure I am running Linux.

That error often pops up when I am coding in the IDE and I forget about it.
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Crashing after logged in

Post by MagicManICT »

Momoka wrote:You are running Ender's right?

It has some custom files it need from a /res directory.

Make sure you have a -r [RES FOLDER], typically -r .\res in Windows I believe. I am not sure I am running Linux.

That error often pops up when I am coding in the IDE and I forget about it.
Enders hasn't needed the -r flag for quite some time now. This is from trying to load the resources directly off the server. Also, I've seen the same error in the original client. The problem then was trying to load a specific resource (namely the male avatar or something associated with it).
x0m9k wrote:I successfuly logged in but after authentification and connecting i see black screen and after ~3 seconds i see an crash report:
Please confirm what client you are using. Is it crashing to desktop? Logging you out? or the client just hanging and not responding?
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
User avatar
Momoka
Posts: 46
Joined: Sun Jul 17, 2011 6:21 am

Re: Crashing after logged in

Post by Momoka »

Try moving your res folder somewhere else. It will fail with the same error. Using Ender or not.

Mine is often in -r build/res That's why I notice it.

Return to “Bugs”