An error has occured!
The error has been reported
javax.media.opengl.GLException: java.lang.ClassCastException: java.lang.Integer
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:352)
at haven.HavenPanel.run(HavenPanel.java:381)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.ClassCastException: java.lang.Integer
at java.awt.Font.initFromMap(Font.java:520)
at java.awt.Font.<init>(Font.java:489)
at haven.RichText$Newline.lm(RichText.java:143)
at haven.RichText$Newline.height(RichText.java:151)
at haven.RichText$Foundry.layout(RichText.java:505)
at haven.RichText$Foundry.render(RichText.java:550)
at haven.RichTextBox.settext(RichTextBox.java:59)
at haven.CharWnd$SkillInfo.draw(CharWnd.java:365)
at haven.Widget.draw(Widget.java:282)
at haven.Widget.draw(Widget.java:282)
at haven.Window.draw(Window.java:111)
at haven.Widget.draw(Widget.java:282)
at haven.RootWidget.draw(RootWidget.java:61)
at haven.UI.draw(UI.java:137)
at haven.HavenPanel.redraw(HavenPanel.java:255)
at haven.HavenPanel$1.display(HavenPanel.java:77)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
-
Lexi
- Posts: 53
- Joined: Wed Feb 03, 2010 9:27 am
(Apple Users) Game not working.
Did you guys add Mac support in your latest update? Because ever since then the game has been crashing and burning every single time I log in.
Last edited by Lexi on Mon Feb 15, 2010 6:56 am, edited 1 time in total.
-
minck1
- Posts: 100
- Joined: Mon Feb 01, 2010 3:26 am
Re: Game not working.
Which client are you using?
-
Lexi
- Posts: 53
- Joined: Wed Feb 03, 2010 9:27 am
Re: Game not working.
The generic homepage "play" client that is downloaded every time I click it.minck1 wrote:Which client are you using?
-
Lazaman
- Posts: 1
- Joined: Sun Feb 14, 2010 2:37 pm
Re: Game not working.
this happened to me too!
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game not working.
Well, that's weird. I'm getting a lot of similar error reports, and does, indeed, only seem to happen on Apple's Java. The condition is weird, however; judging from the fact that it tries to cast a java.lang.Integer to some incompatible type in the routines for calculating fonts out of character attribute maps, it seems reasonable to assume that it's looking at the font size attribute. However, in that case it's a bug in Apple's Java, seeing how the specification says that the font size can be specified as any subclass of java.lang.Number, and I don't know what Apple's Java would be looking for instead.
It's also hard for me to debug, seeing how I don't have any Apple computer to try it on. Does anyone know if the sources for Apple's class library are available?
It's also hard for me to debug, seeing how I don't have any Apple computer to try it on. Does anyone know if the sources for Apple's class library are available?
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
sabinati
- Posts: 15527
- Joined: Mon Jul 13, 2009 4:25 am
- Location: View active topics
-
Lexi
- Posts: 53
- Joined: Wed Feb 03, 2010 9:27 am
Re: Game not working.
Ah. I'm glad that I'm not the only one with this problem. :p
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: Game not working.
Ah, the problem was actually general to Java 1.5; it only seemed to be Apple-specific because Apple users are the only ones using Java 1.5. :)
I've built a new client that I think should work. Please try it.
I've built a new client that I think should work. Please try it.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Lexi
- Posts: 53
- Joined: Wed Feb 03, 2010 9:27 am
Re: Game not working.
Nope, it's still not working. It specifically crashes (faster) when I go to view the skill panel.
javax.media.opengl.GLException: java.lang.ClassCastException: java.lang.Integer
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:352)
at haven.HavenPanel.run(HavenPanel.java:381)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.ClassCastException: java.lang.Integer
at java.awt.Font.initFromMap(Font.java:520)
at java.awt.Font.<init>(Font.java:489)
at haven.RichText$Newline.lm(RichText.java:143)
at haven.RichText$Newline.height(RichText.java:151)
at haven.RichText$Foundry.layout(RichText.java:505)
at haven.RichText$Foundry.render(RichText.java:550)
at haven.RichTextBox.settext(RichTextBox.java:59)
at haven.CharWnd$SkillInfo.draw(CharWnd.java:365)
at haven.Widget.draw(Widget.java:282)
at haven.Widget.draw(Widget.java:282)
at haven.Window.draw(Window.java:111)
at haven.Widget.draw(Widget.java:282)
at haven.RootWidget.draw(RootWidget.java:61)
at haven.UI.draw(UI.java:137)
at haven.HavenPanel.redraw(HavenPanel.java:255)
at haven.HavenPanel$1.display(HavenPanel.java:77)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
-
Lexi
- Posts: 53
- Joined: Wed Feb 03, 2010 9:27 am
Re: Game not working.
I found a workaround for Apple users that works as a temporary solution.
You need to go to /Applications/Utilities/Java Preferences and disable J2SE 5.0 (both the 32 bit and the 64 bit). This solution worked for me, on my MacBook 13 inch.
You need to go to /Applications/Utilities/Java Preferences and disable J2SE 5.0 (both the 32 bit and the 64 bit). This solution worked for me, on my MacBook 13 inch.