[resolved]Client crashes at startup

The worst monsters in the Hearthlands warp the fabric of space and time...

[resolved]Client crashes at startup

Postby the_portals » Fri Feb 19, 2016 1:21 am

Even with autohaven.jnlp I get basically the same error in every client I try to run:
Code: Select all
Exception in thread "Haven main thread" java.lang.NoSuchMethodError: javax.media
.opengl.awt.GLCanvas.<init>(Ljavax/media/opengl/GLCapabilitiesImmutable;Ljavax/m
edia/opengl/GLCapabilitiesChooser;Ljavax/media/opengl/GLContext;Ljava/awt/Graphi
csDevice;)V
        at haven.HavenPanel.<init>(HavenPanel.java:82)
        at haven.HavenPanel.<init>(HavenPanel.java:92)
        at haven.MainFrame.<init>(MainFrame.java:188)
        at haven.MainFrame.main2(MainFrame.java:399)
        at haven.MainFrame.access$100(MainFrame.java:36)
        at haven.MainFrame$8.run(MainFrame.java:443)
        at java.lang.Thread.run(Unknown Source)


I have all of the opengl .jar files in my java/lib/ext folder and in the client's folder itself. I also just updated my graphics driver and my java.
Last edited by the_portals on Fri Feb 19, 2016 7:22 am, edited 1 time in total.
I was in the Northern Army once and you can never take that from me
User avatar
the_portals
 
Posts: 218
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: Can't run the dang game

Postby loftar » Fri Feb 19, 2016 1:27 am

the_portals wrote:I have all of the opengl .jar files in my java/lib/ext folder and in the client's folder itself.

This is clearly a custom-client problem so I'm not sure I can help, but are you sure you have the right version of JOGL in there?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't run the dang game

Postby the_portals » Fri Feb 19, 2016 1:38 am

It's not just a custom issue, it happens when I launch the default client as well.

I just replaced all of the .jars with the latest jogl download, now I'm getting this error:
Code: Select all
Exception in thread "main" java.lang.VerifyError: Bad return type
Exception Details:
  Location:
    javax/media/opengl/awt/GLCanvas.getContext()Ljavax/media/opengl/GLContext; @
4: areturn
  Reason:
    Type 'jogamp/opengl/GLContextImpl' (current frame, stack[0]) is not assignab
le to 'javax/media/opengl/GLContext' (from method signature)
  Current Frame:
    bci: @4
    flags: { }
    locals: { 'javax/media/opengl/awt/GLCanvas' }
    stack: { 'jogamp/opengl/GLContextImpl' }
  Bytecode:
    0x0000000: 2ab4 0343 b0

        at haven.TexGL$TexDraw.<clinit>(TexGL.java:92)
        at haven.TexGL.<init>(TexGL.java:158)
        at haven.TexGL.<init>(TexGL.java:249)
        at haven.TexI.<init>(TexI.java:43)
        at haven.Resource$Image$1.<init>(Resource.java:821)
        at haven.Resource$Image.tex(Resource.java:821)
        at haven.Resource.loadtex(Resource.java:1654)
        at haven.Config$1.<init>(Config.java:182)
        at haven.Config.<clinit>(Config.java:181)
        at haven.MainFrame.<clinit>(MainFrame.java:41)
I was in the Northern Army once and you can never take that from me
User avatar
the_portals
 
Posts: 218
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak

Re: Can't run the dang game

Postby loftar » Fri Feb 19, 2016 2:58 am

the_portals wrote:It's not just a custom issue, it happens when I launch the default client as well.

Well, in that case, please try removing any custom JOGL from your Java installation and try the JNLP and see if it works.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Can't run the dang game

Postby the_portals » Fri Feb 19, 2016 7:20 am

Yep, that did the trick, thanks Loftar! :D
I was in the Northern Army once and you can never take that from me
User avatar
the_portals
 
Posts: 218
Joined: Fri Sep 06, 2013 3:42 am
Location: Brotherhood of the Oak


Return to Bugs

Who is online

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