Hi there, I try to press the play game button on the website and download the java file, I get this error when I try to launch:
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)
Is there any way to fix this issue? I cant actually play the game with this.
-
carcanken
- Posts: 92
- Joined: Mon May 24, 2010 9:48 pm
-
vatas
- Posts: 5255
- Joined: Fri Apr 05, 2013 8:34 am
- Location: Suomi Finland Perkele
Re: ArrayIndexOutOfBoundsException from Launching Game
You may have some issue with Java, but I'm unable to pinpoint it. Check that you have up-to-date Java that is allowed to run web applications. Maybe try Amber custom client. (viewtopic.php?f=49&t=40400)
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)
Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
-
carcanken
- Posts: 92
- Joined: Mon May 24, 2010 9:48 pm
Re: ArrayIndexOutOfBoundsException from Launching Game
I recently updated java to see if that was the issue but it didn't fix it.vatas wrote:You may have some issue with Java, but I'm unable to pinpoint it. Check that you have up-to-date Java that is allowed to run web applications. Maybe try Amber custom client. (viewtopic.php?f=49&t=40400)
-
MagicManICT
- Posts: 18435
- Joined: Tue Aug 17, 2010 1:47 am
Re: ArrayIndexOutOfBoundsException from Launching Game
A) What version of Java are you running? What operating system? What hardware do you have installed and driver versions.
B) Did a search on the exception on the forums because it does come up every once in a while. It looks like either your hardware isn't configured correctly, or you're running the wrong version of Java, possibly a beta build of a future update. (I'm inclined to consider it the latter as hardware issues tend to crash at the system level.)
Beta Java issue: https://www.havenandhearth.com/forum/vi ... sException
Incorrect hardware configuration: https://www.havenandhearth.com/forum/vi ... 47&t=44629
B) Did a search on the exception on the forums because it does come up every once in a while. It looks like either your hardware isn't configured correctly, or you're running the wrong version of Java, possibly a beta build of a future update. (I'm inclined to consider it the latter as hardware issues tend to crash at the system level.)
Beta Java issue: https://www.havenandhearth.com/forum/vi ... sException
Incorrect hardware configuration: https://www.havenandhearth.com/forum/vi ... 47&t=44629
Opinions expressed in this statement are the authors alone and in no way reflect on the game development values of the actual developers.