Page 1 of 1

Crashes on startup.

PostPosted: Thu Aug 23, 2012 10:43 am
by Illanair
Friend of mine is getting the following error when he tries to start the beta. He's tried reinstalling JRE and his hardware drivers (chipset, graphics etc..)

Any idea what could be causing this?

Code: Select all
javax.media.opengl.GLException: javax.media.opengl.GLException: Error making context current: 0
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:380)
at haven.HavenPanel.run(HavenPanel.java:414)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Error making context current: 0
at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.windows.WindowsGLDrawable.choosePixelFormat(WindowsGLDrawable.java:112)
at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:203)
at com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:57)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unkn.....

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 11:30 am
by Jayaris
Have the same issue.

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 1:07 pm
by sparkspirit
Same.
[Temporary solution]
Running Salem, logging in from another user works.
(At least, for me)

But i'm still looking for normal solution.
Using "Run as..." doesn't work.
Cleaning java cache didn't help.
Manually cleaning C:\Users\%username\AppData\LocalRow\Java also didn't help.

I dunno how to launch from my main profile, switching to another user only to play Salem is really uncomfortable.

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 2:27 pm
by Prime
The thing is, I don't even get to the login screen.It crashes when the game starts up and before I get to the login screen.
I can log in on my laptop, so it's something to do with my desktop

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 3:14 pm
by Tonkyhonk
to op,
a mac user?
not sure if this helps, but an old thread talked about the same error log pretty long ago.
http://www.havenandhearth.com/forum/vie ... 7&start=20

sometimes, updating your drivers (from the manufacturer site) helps too, though.

also, your friend should post the error him/herself, so that if loftar happens to see this, he could directly check the problem rather than just seeing the error log only and assuming stuff, imo.

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 6:09 pm
by Prime
javax.media.opengl.GLException: javax.media.opengl.GLException: Error making context current: 0
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at haven.HavenPanel.uglyjoglhack(HavenPanel.java:380)
at haven.HavenPanel.run(HavenPanel.java:414)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.media.opengl.GLException: Error making context current: 0
at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.windows.WindowsGLDrawable.choosePixelFormat(WindowsGLDrawable.java:112)
at com.sun.opengl.impl.windows.WindowsOnscreenGLDrawable.lockSurface(WindowsOnscreenGLDrawable.java:203)
at com.sun.opengl.impl.windows.WindowsOnscreenGLContext.makeCurrentImpl(WindowsOnscreenGLContext.java:57)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
is the complete Haven Error I get every time I launch Salem. I've updated both Java and my Drivers two days ago.
I'm using Windows 7

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 6:15 pm
by loftar
I've seen these errors among the reports I've gotten, and I have indeed wondered what they mean. What GPUs do you have? Can you run other OpenGL-based programs?

Re: Crashes on startup.

PostPosted: Thu Aug 23, 2012 6:39 pm
by MagicManICT
Go into your video driver controls. Look for an option that should read something like "OpenGL Triple Buffering". Make sure this is turned off. The biggest problem is with some of the newer installations of ATI's Catalyst. I don't recall it being on by default, but it might be set based on the card you have in your system at installation.

Re: Crashes on startup.

PostPosted: Fri Aug 24, 2012 8:01 pm
by Prime
Would like to say thank you Magicman for helping me out. though Now i have another problem, both on my laptop and my desktop, When I start the program up. It gives me a nice Black screen. As much as I'd love to browse the old forum, I was stupid and forgot to save my key on my computer. thus I cannot register my Salem beta key to my account and search that forum for help. If anyone knows how to deal with this problem. Please do help ^^

I have tried running in in compatable mode and it has hot helped