#1173 FreeMind 0.9.0 fails to load system cursor, and won't start on Ubuntu 14.04

_FreeMind_0.9.0
open
nobody
5
2 days ago
2013-10-31
Mace Ojala
No

Hello there. I'm running the pre-pre-pre-pre-alpha Ubuntu 14.04 Trusty Tahr, and I have FreeMind package version 0.9.0+dfsg-3 installed. FreeMind has been working recently. But now it fails to start, with the following Java runtime exception:

mace@macentu:~$ freemind
Checking Java Version...

STDERR: java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32
STDERR:     at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1515)
STDERR:     at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1804)
STDERR:     at java.awt.dnd.DragSource.load(DragSource.java:131)
STDERR:     at java.awt.dnd.DragSource.<clinit>(DragSource.java:147)
STDERR:     at freemind.view.mindmapview.NodeView.addDragListener(NodeView.java:173)
STDERR:     at freemind.view.mindmapview.NodeView.setMainView(NodeView.java:159)
STDERR:     at freemind.view.mindmapview.NodeViewFactory.newNodeView(NodeViewFactory.java:167)
STDERR:     at freemind.view.mindmapview.MapView.initRoot(MapView.java:351)
STDERR:     at freemind.view.mindmapview.MapView.<init>(MapView.java:289)
STDERR:     at freemind.controller.MapModuleManager.newMapModule(MapModuleManager.java:188)
STDERR:     at freemind.modes.ControllerAdapter.newMap(ControllerAdapter.java:335)
STDERR:     at freemind.modes.ControllerAdapter.load(ControllerAdapter.java:364)
STDERR:     at freemind.modes.mindmapmode.MindMapMode.restore(MindMapMode.java:83)
STDERR:     at freemind.controller.LastOpenedList.open(LastOpenedList.java:106)
STDERR:     at freemind.main.FreeMind.loadMaps(FreeMind.java:1011)
STDERR:     at freemind.main.FreeMind.main(FreeMind.java:744)
STDERR:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
STDERR:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
STDERR:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
STDERR:     at java.lang.reflect.Method.invoke(Method.java:606)
STDERR:     at freemind.main.FreeMindStarter.main(FreeMindStarter.java:63)
STDERR: Caused by: java.awt.AWTException: Exception: class java.lang.IllegalArgumentException Width (0) and height (0) must be non-zero occurred while creating cursor CopyDrop.32x32
STDERR:     at java.awt.Cursor.getSystemCustomCursor(Cursor.java:362)
STDERR:     at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(XToolkit.java:1513)
STDERR:     ... 20 more
STDERR: java.lang.reflect.InvocationTargetException
STDERR:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
STDERR:     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
STDERR:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
STDERR:     at java.lang.reflect.Method.invoke(Method.java:606)
STDERR:     at freemind.main.FreeMindStarter.main(FreeMindStarter.java:63)
STDERR: Caused by: java.lang.ExceptionInInitializerError
STDERR:     at freemind.view.mindmapview.NodeView.addDragListener(NodeView.java:173)
STDERR:     at freemind.view.mindmapview.NodeView.setMainView(NodeView.java:159)
STDERR:     at freemind.view.mindmapview.NodeViewFactory.newNodeView(NodeViewFactory.java:167)
STDERR:     at freemind.view.mindmapview.MapView.initRoot(MapView.java:351)
STDERR:     at freemind.view.mindmapview.MapView.<init>(MapView.java:289)
STDERR:     at freemind.controller.MapModuleManager.newMapModule(MapModuleManager.java:188)
STDERR:     at freemind.modes.ControllerAdapter.newMap(ControllerAdapter.java:335)
STDERR:     at freemind.modes.ControllerAdapter.load(ControllerAdapter.java:364)
STDERR:     at freemind.modes.mindmapmode.MindMapMode.restore(MindMapMode.java:83)
STDERR:     at freemind.controller.LastOpenedList.open(LastOpenedList.java:106)
STDERR:     at freemind.main.FreeMind.loadMaps(FreeMind.java:1011)
STDERR:     at freemind.main.FreeMind.main(FreeMind.java:744)
STDERR:     ... 5 more
STDERR: Caused by: java.lang.RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
STDERR:     at java.awt.dnd.DragSource.load(DragSource.java:135)
STDERR:     at java.awt.dnd.DragSource.<clinit>(DragSource.java:147)

My Java is OpenJDK 1.7.0_25:

mace@macentu:~$ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.12) (7u25-2.3.12-4ubuntu3)

OpenJDK Server VM (build 23.7-b01, mixed mode)

Discussion