WordRider Home
Welcome! Log In Create A New Profile

Advanced

WordRider doesn't work on Mac OS X

Posted by thewolf 
WordRider doesn't work on Mac OS X
January 28, 2005 08:32AM
Hi,

I am running Mac OS X Panther 10.3.7.

I downloaded WordRider 0.54 for Linux, uncompressed it and tried to run the Java application, but it didn't work, I got the following error message:
---
$ java -jar ./wordrider.jar
09:17:44:178-[INFO ]-Loading ... please wait
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at net.wordrider.core.MainAppSplash.main(MainAppSplash.java:26)
Caused by: java.lang.UnsupportedOperationException: Toolkit.getLockingKeyState
at java.awt.Toolkit.getLockingKeyState(Toolkit.java:1231)
at net.wordrider.core.managers.StatusbarManager.getKeyStatus(StatusbarManager.java:269)
at net.wordrider.core.managers.StatusbarManager.specialKeyStatusChanged(StatusbarManager.java:264)
at net.wordrider.core.managers.StatusbarManager.selectedAreaChanged(StatusbarManager.java:303)
at net.wordrider.core.managers.AreaManager.activateInstance(AreaManager.java:86)
at net.wordrider.core.managers.TabManager$TabListener.stateChanged(TabManager.java:70)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:468)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:461)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:573)
at javax.swing.JTabbedPane.addTab(JTabbedPane.java:607)
at net.wordrider.core.managers.TabManager.registerNewOne(TabManager.java:56)
at net.wordrider.core.managers.AreaManager.openFileInstance(AreaManager.java:53)
at net.wordrider.core.managers.AreaManager.openFileInstance(AreaManager.java:45)
at net.wordrider.core.MainAppFrame.init(MainAppFrame.java:67)
at net.wordrider.core.MainApp.start(MainApp.java:64)
at net.wordrider.core.MainApp.main(MainApp.java:46)
... 5 more
---

I have the latest Apple JVM available for Mac OS X:
---
$ java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
---

Any idea?

Thanks.
Re: WordRider doesn't work on Mac OS X
January 28, 2005 09:20AM
Thanks the Wolf for reporting. I didn't tested WordRider with Mac at all...
I see where could be the problem. Does MacOs supports Numlock key and/or Capslock key? ;)
I will prepare a patch during one hour. Could you test it then ?

Thanks again.

-------------------------------------

Re: WordRider doesn't work on Mac OS X
January 28, 2005 09:47AM
So here it is.
Could you test it please?
[wordrider.net] 394kB


-------------------------------------

Re: WordRider doesn't work on Mac OS X
January 28, 2005 11:51AM
Hi,

Thanks for the quick response.

The new version of WordRide now starts up.

I get the following warning message at startup:
---
File Ti-92p.ttf with font family Ti92Pluspc was not detected.
TextArea wont display some characters properly.
---

Also, I cannot see any icon in the toolbar.

Here is the standard output of the Java application:
---
$ java -jar wordrider.jar
12:46:16:428-[INFO ]-Loading ... please wait
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at com.incors.plaf.FastGradientPaintContext$Gradient.createRaster(FastGradientPaintContext.java:85)
at com.incors.plaf.FastGradientPaintContext$Gradient.getRaster(FastGradientPaintContext.java:46)
at com.incors.plaf.FastGradientPaintContext$Gradient.access$100(FastGradientPaintContext.java:37)
at com.incors.plaf.FastGradientPaintContext.getRaster(FastGradientPaintContext.java:143)
at apple.awt.CSurfaceData.setupPaint(CSurfaceData.java:696)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:1023)
at apple.awt.CPeerSurfaceData.setupGraphicsState(CPeerSurfaceData.java:95)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:969)
at apple.awt.CSurfaceData.drawfillShape(CSurfaceData.java:1253)
at apple.awt.CPeerSurfaceData.drawfillShape(CPeerSurfaceData.java:151)
at apple.awt.CRenderer.drawfillShape(CRenderer.java:547)
at apple.awt.CRenderer.fill(CRenderer.java:580)
at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:119)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2498)
at com.incors.plaf.kunststoff.KunststoffUtilities.drawGradient(KunststoffUtilities.java:49)
at com.incors.plaf.kunststoff.KunststoffScrollBarUI.paintThumb(KunststoffScrollBarUI.java:56)
at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:301)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1325)
at sun.awt.RepaintArea.paint(RepaintArea.java:194)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:281)
at java.awt.Component.dispatchEventImpl(Component.java:3744)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
12:46:45:044-[DEBUG]-counter
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at com.incors.plaf.FastGradientPaintContext$Gradient.createRaster(FastGradientPaintContext.java:85)
at com.incors.plaf.FastGradientPaintContext$Gradient.getRaster(FastGradientPaintContext.java:46)
at com.incors.plaf.FastGradientPaintContext$Gradient.access$100(FastGradientPaintContext.java:37)
at com.incors.plaf.FastGradientPaintContext.getRaster(FastGradientPaintContext.java:143)
at apple.awt.CSurfaceData.setupPaint(CSurfaceData.java:696)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:1023)
at apple.awt.CPeerSurfaceData.setupGraphicsState(CPeerSurfaceData.java:95)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:969)
at apple.awt.CSurfaceData.drawfillShape(CSurfaceData.java:1253)
at apple.awt.CPeerSurfaceData.drawfillShape(CPeerSurfaceData.java:151)
at apple.awt.CRenderer.drawfillShape(CRenderer.java:547)
at apple.awt.CRenderer.fill(CRenderer.java:580)
at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:119)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2498)
at com.incors.plaf.kunststoff.KunststoffUtilities.drawGradient(KunststoffUtilities.java:49)
at com.incors.plaf.kunststoff.KunststoffScrollBarUI.paintThumb(KunststoffScrollBarUI.java:56)
at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:301)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent._paintImmediately(JComponent.java:4707)
at javax.swing.JComponent.paintImmediately(JComponent.java:4489)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:436) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
12:46:45:406-[DEBUG]-counter
12:46:46:654-[DEBUG]-counter
12:46:46:818-[DEBUG]-counter
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at com.incors.plaf.FastGradientPaintContext$Gradient.createRaster(FastGradientPaintContext.java:85)
at com.incors.plaf.FastGradientPaintContext$Gradient.getRaster(FastGradientPaintContext.java:46)
at com.incors.plaf.FastGradientPaintContext$Gradient.access$100(FastGradientPaintContext.java:37)
at com.incors.plaf.FastGradientPaintContext.getRaster(FastGradientPaintContext.java:143)
at apple.awt.CSurfaceData.setupPaint(CSurfaceData.java:696)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:1023)
at apple.awt.CPeerSurfaceData.setupGraphicsState(CPeerSurfaceData.java:95)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:969)
at apple.awt.CSurfaceData.drawfillShape(CSurfaceData.java:1253)
at apple.awt.CPeerSurfaceData.drawfillShape(CPeerSurfaceData.java:151)
at apple.awt.CRenderer.drawfillShape(CRenderer.java:547)
at apple.awt.CRenderer.fill(CRenderer.java:580)
at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:119)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2498)
at com.incors.plaf.kunststoff.KunststoffUtilities.drawGradient(KunststoffUtilities.java:49)
at com.incors.plaf.kunststoff.KunststoffScrollBarUI.paintThumb(KunststoffScrollBarUI.java:56)
at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:301)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1325)
at javax.swing.JFrame.update(JFrame.java:392)
at sun.awt.RepaintArea.paint(RepaintArea.java:186)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:281)
at java.awt.Component.dispatchEventImpl(Component.java:3744)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
at com.incors.plaf.FastGradientPaintContext$Gradient.createRaster(FastGradientPaintContext.java:85)
at com.incors.plaf.FastGradientPaintContext$Gradient.getRaster(FastGradientPaintContext.java:46)
at com.incors.plaf.FastGradientPaintContext$Gradient.access$100(FastGradientPaintContext.java:37)
at com.incors.plaf.FastGradientPaintContext.getRaster(FastGradientPaintContext.java:143)
at apple.awt.CSurfaceData.setupPaint(CSurfaceData.java:696)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:1023)
at apple.awt.CPeerSurfaceData.setupGraphicsState(CPeerSurfaceData.java:95)
at apple.awt.CSurfaceData.setupGraphicsState(CSurfaceData.java:969)
at apple.awt.CSurfaceData.drawfillShape(CSurfaceData.java:1253)
at apple.awt.CPeerSurfaceData.drawfillShape(CPeerSurfaceData.java:151)
at apple.awt.CRenderer.drawfillShape(CRenderer.java:547)
at apple.awt.CRenderer.fill(CRenderer.java:580)
at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:119)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2498)
at com.incors.plaf.kunststoff.KunststoffUtilities.drawGradient(KunststoffUtilities.java:49)
at com.incors.plaf.kunststoff.KunststoffScrollBarUI.paintThumb(KunststoffScrollBarUI.java:56)
at javax.swing.plaf.basic.BasicScrollBarUI.paint(BasicScrollBarUI.java:301)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:154)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:34) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1325)
at javax.swing.JFrame.update(JFrame.java:392)
at sun.awt.RepaintArea.paint(RepaintArea.java:186)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:281)
at java.awt.Component.dispatchEventImpl(Component.java:3744)
at java.awt.Container.dispatchEventImpl(Container.java:1671)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
---

How do I post a screenshot to this forum?

Thanks.
Re: WordRider doesn't work on Mac OS X
January 28, 2005 12:10PM
It looks like the Kunststoff look and feel isn't compatible with MacOS. It doesn't go through WordRider's sources at all. It's a fatal error which probably causes that the font is not found.
Try to do this : delete file kunststoff.jar from /lib directory and restart WordRider. You get the error message that the Kunstoff is missing but it never minds(a default metal look and feel will be used automatically)
You can use "BBCode". Close image URL to
Re: WordRider doesn't work on Mac OS X
January 28, 2005 12:20PM
Hi,

I deleted the kunststoff.jar file and restarted WordRider: I can now see the icons in the toolbar menu.

Thanks.
Re: WordRider doesn't work on Mac OS X
January 28, 2005 12:38PM
Now you can download different Look and feel from the WordRider's pages[wordrider.net].Copy the jar into lib directory.Restart WordRider and then set it in the main menu "WordRider"->Look&Feel.
Does everything seem to be correct(font etc.)?



Edited 1 time(s). Last edit at 01/28/2005 12:46PM by Vity.
Sorry, only registered users may post in this forum.

Click here to login