Haven and Hearth Startup Error

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.
TheOneCelt
Posts: 3
Joined: Sat Sep 29, 2018 8:53 pm

Haven and Hearth Startup Error

Post by TheOneCelt »

Every time I start up Haven and Hearth it gives me this error

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: -1
	at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:170)
	at javax.media.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:422)
	at javax.media.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1403)
	at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:617)
	at java.desktop/java.awt.Container.addNotify(Unknown Source)
	at java.desktop/java.awt.Window.addNotify(Unknown Source)
	at java.desktop/java.awt.Frame.addNotify(Unknown Source)
	at java.desktop/java.awt.Window.pack(Unknown Source)
	at haven.MainFrame.<init>(MainFrame.java:196)
	at haven.MainFrame.main2(MainFrame.java:383)
	at haven.MainFrame.access$100(MainFrame.java:35)
	at haven.MainFrame$7.run(MainFrame.java:426)
	at java.base/java.lang.Thread.run(Unknown Source)
Can Someone please tell me how to fix this issue?[/color]
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven and Hearth Startup Error

Post by MagicManICT »

Some information is needed first: what client are you using (default, Amber, Puru's, etc)? Is it up to date? What is your operating system and Java version? What hardware do you have installed?

I don't have time to do a search on this error, but I can try tackling it later. Maybe someone else can help in the mean time, but either way the extra information will be helpful to pinpoint a problem and possible fix.
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
Granger
Posts: 9255
Joined: Mon Mar 22, 2010 2:00 pm

Re: Haven and Hearth Startup Error

Post by Granger »

Try a current manufacturer driver for your GPU, not the supplied one with windows.

Should that not help please post the information the the Bug Report HOWTO asks for (link in my signature).
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
TheOneCelt
Posts: 3
Joined: Sat Sep 29, 2018 8:53 pm

Re: Haven and Hearth Startup Error

Post by TheOneCelt »

I am using the default client and it's up-to-date. I use Windows 10 and have the latest Java JDK installed
User avatar
MagicManICT
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven and Hearth Startup Error

Post by MagicManICT »

TheOneCelt wrote:I use Windows 10 and have the latest Java JDK installed
If you're using the JDK, know that you should always include version and build numbers. There can be errors in the JDK that aren't in the standard releases, especially if you're using a beta build.

Which version? 8.181? next 8 beta? 9+ beta? If any of the betas, make sure you're running with the 8.181 version, either a standard or JDK installation. There are instructions on how to run multiple versions of Java successfully depending on your operating system.
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.
TheOneCelt
Posts: 3
Joined: Sat Sep 29, 2018 8:53 pm

Re: Haven and Hearth Startup Error

Post by TheOneCelt »

I am using JDK 10.0.2 currently, standard not beta.

Return to “How do I?”