Crashing on startup (MAC)

Forum for bugs and technical problems.

Crashing on startup (MAC)

Postby HasseKebab » Mon Nov 05, 2012 9:17 pm

If you have this issue, try the solutions below.

Code: Select all
javax.media.opengl.GLException: java.lang.NoClassDefFoundError: apple/awt/ComponentModel
   at com.sun.opengl.impl.Java2D.invokeWithOGLContextCurrent(Java2D.java:296)
   at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:266)
   at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
   at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
   at haven.HavenPanel.uglyjoglhack(HavenPanel.java:382)
   at haven.HavenPanel.run(HavenPanel.java:416)
   at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoClassDefFoundError: apple/awt/ComponentModel
   at com.sun.opengl.impl.JAWT_DrawingSurface.GetDrawingSurfaceInfo0(Native Method)
   at com.sun.opengl.impl.JAWT_DrawingSurface.GetDrawingSurfaceInfo(JAWT_DrawingSurface.java:56)
   at com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable$1.run(MacOSXOnscreenGLDrawable.java:165)
   at java.security.AccessController.doPrivileged(Native Method)
   at com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable.lockSurface(MacOSXOnscreenGLDrawable.java:163)
   at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.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 sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:234)
Caused by: java.lang.ClassNotFoundException: apple.awt.ComponentModel
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:356)


***SOLUTION***

nostra wrote:I SOLVED IT!

Step 1: Uninstall your Java 7 stuff
Step 2: Install this http://support.apple.com/kb/DL1572?viewlocale=de_DE
Step 3: Run your Salem with the 1.6 version with direct path (from command line):
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /path/to/game/salem.jnlp

It works perfect!!
Last edited by HasseKebab on Wed Dec 05, 2012 3:29 pm, edited 3 times in total.
HasseKebab
 
Posts: 495
Joined: Sat Aug 25, 2012 8:34 am

Re: Crashing on startup (MAC)

Postby MagicManICT » Tue Nov 06, 2012 6:27 am

loftar posted up a reply earlier (saw your replay to it). He said that there is quite likely a problem with your Java installation. The only possible fix you can do is reinstall Java. Something may have become corrupted. It may be that a file that should have been saved to your computer didn't or is corrupted, so downloading the client again before reinstalling might fix. (A hard drive scan probably may be a good idea.)
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: Crashing on startup (MAC)

Postby HasseKebab » Tue Nov 06, 2012 8:12 am

Ive found where the file should be and its not there, and i cannot reinstall my Client since it just starts and crashes, i have reinstalled java millions times now :cry:
HasseKebab
 
Posts: 495
Joined: Sat Aug 25, 2012 8:34 am

Re: Crashing on startup (MAC)

Postby MagicManICT » Tue Nov 06, 2012 1:41 pm

Then if I understand correctly, you're only option is to contact Apple or run wine or another Windows on *nix tool.
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: Crashing on startup (MAC)

Postby HasseKebab » Tue Nov 06, 2012 4:46 pm

Can i manually re-install Salem to my mac somehow?
HasseKebab
 
Posts: 495
Joined: Sat Aug 25, 2012 8:34 am

Re: Crashing on startup (MAC)

Postby MagicManICT » Tue Nov 06, 2012 6:13 pm

I'm not used to using a Mac, so I'm not familiar with the jargon and program/group names.

There should be a place to set Java options (this would be the Java control panel in Windows). In that, you should be able to set temporary internet files storage as well as manage the programs stored. Clear out this cache (or at least Salem from the cache). Here's a short pictorial guide on doing it in various operating systems. OS X is a bit farther down the page. Once it's cleared, go back to the Salem home page or Account page and download the .jnlp file again (or if you saved it to your computer, you can launch from there).
I am a moderator. I moderate stuff. When I do, I write in this color.
JohnCarver wrote:anybody who argues to remove a mechanic that allows "yet another" way to summon somebody is really a carebear in disguise trying to save his own hide.
MagicManICT
 
Posts: 5088
Joined: Wed Aug 01, 2012 1:46 am

Re: Crashing on startup (MAC)

Postby HasseKebab » Wed Nov 07, 2012 10:42 am

Well it didn't fix it :/
seems like i have to goto java support.
HasseKebab
 
Posts: 495
Joined: Sat Aug 25, 2012 8:34 am

Re: Crashing on startup (MAC)

Postby DeputyLunchbox » Wed Nov 07, 2012 4:03 pm

Bump.

I am also having the exact same issue. I have followed the recommended fixes with no results.
DeputyLunchbox
 
Posts: 3
Joined: Wed Nov 07, 2012 3:23 pm

Re: Crashing on startup (MAC)

Postby HasseKebab » Wed Nov 07, 2012 4:54 pm

DeputyLunchbox wrote:Bump.

I am also having the exact same issue. I have followed the recommended fixes with no results.


Im glad im not the only one with this issue :)
btw are you a mac user?
HasseKebab
 
Posts: 495
Joined: Sat Aug 25, 2012 8:34 am

Re: Crashing on startup (MAC)

Postby DeputyLunchbox » Wed Nov 07, 2012 5:34 pm

Yes, I am using an iMac.
DeputyLunchbox
 
Posts: 3
Joined: Wed Nov 07, 2012 3:23 pm

Next

Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 25 guests

cron