Haven and Hearth Startup Error

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Haven and Hearth Startup Error

Postby TheOneCelt » Sat Sep 29, 2018 8:55 pm

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?
TheOneCelt
 
Posts: 3
Joined: Sat Sep 29, 2018 8:53 pm

Re: Haven and Hearth Startup Error

Postby MagicManICT » Sat Sep 29, 2018 9:32 pm

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
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven and Hearth Startup Error

Postby Granger » Sat Sep 29, 2018 9:33 pm

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
User avatar
Granger
 
Posts: 9254
Joined: Mon Mar 22, 2010 2:00 pm

Re: Haven and Hearth Startup Error

Postby TheOneCelt » Sun Sep 30, 2018 12:23 am

I am using the default client and it's up-to-date. I use Windows 10 and have the latest Java JDK installed
TheOneCelt
 
Posts: 3
Joined: Sat Sep 29, 2018 8:53 pm

Re: Haven and Hearth Startup Error

Postby MagicManICT » Sun Sep 30, 2018 12:35 am

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.
User avatar
MagicManICT
 
Posts: 18435
Joined: Tue Aug 17, 2010 1:47 am

Re: Haven and Hearth Startup Error

Postby TheOneCelt » Tue Oct 02, 2018 11:45 pm

I am using JDK 10.0.2 currently, standard not beta.
TheOneCelt
 
Posts: 3
Joined: Sat Sep 29, 2018 8:53 pm


Return to How do I?

Who is online

Users browsing this forum: Claude [Bot], Semrush [Bot] and 3 guests