ccidral/tomighty — Issue #52: Cannot start tomighty in Ubuntu 11.10 with Unity 2D
Author: haocheng
Created: 2011-10-15 03:38:46+00:00
State: open

Hi,

I just upgraded to Ubuntu 11.10 yesterday and found that tomight 0.7.1 won't work with Unity 2D.
However, it does work with Unity.

Here's the error messages I got:

```
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.awt.AWTException: TrayIcon couldn't be displayed.
at org.tomighty.ui.TrayManager.run(TrayManager.java:75)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.awt.AWTException: TrayIcon couldn't be displayed.
at sun.awt.X11.XTrayIconPeer.(XTrayIconPeer.java:268)
at sun.awt.X11.XToolkit.createTrayIcon(XToolkit.java:884)
at java.awt.TrayIcon.addNotify(TrayIcon.java:690)
at java.awt.SystemTray.add(SystemTray.java:237)
at org.tomighty.ui.TrayManager.run(TrayManager.java:73)
... 14 more
```

Thank you!