GUI stopped working on Ubuntu 13.04

+1 vote
asked Aug 19, 2013 in Bug by Pander (780 points)

GUI stopped working on Ubuntu 13.04. Used version 7976 with openjdk-7-jre-headless:amd64 (/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java) Please fix this as soon as possible or provide a work around since it is a blocking issue. The error is:

 

Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: No Data Model
    at javax.swing.JList$3.getElementAt(JList.java:495)
    at net.sourceforge.plantuml.swing.MainWindow2$1.mouseClicked(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
    at java.awt.Component.processMouseEvent(Component.java:6508)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
    at java.awt.Component.processEvent(Component.java:6270)
    at java.awt.Container.processEvent(Container.java:2229)
    at java.awt.Component.dispatchEventImpl(Component.java:4861)
    at java.awt.Container.dispatchEventImpl(Container.java:2287)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4501)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    at java.awt.Container.dispatchEventImpl(Container.java:2273)
    at java.awt.Window.dispatchEventImpl(Window.java:2719)
    at java.awt.Component.dispatchEvent(Component.java:4687)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    at java.awt.EventQueue$4.run(EventQueue.java:708)
    at java.awt.EventQueue$4.run(EventQueue.java:706)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)



 

2 Answers

0 votes
answered Aug 19, 2013 by plantuml (295,000 points)
Hello, Could you give some information on how this happens. Is it when you start the GUI? When you click somewhere ? Were older versions of PlantUML working on this config ? Thanks
commented Aug 19, 2013 by Pander (780 points)
When I start the application. It does not show any of my .txt files. It also reports the error again when I change directory. Never files are being shown because of this error so I cannot use the application.
0 votes
answered Aug 19, 2013 by Pander (780 points)

Ah, this solved it:

    $ sudo apt-get install graphviz

The GUI resulted in an PNG in which an error was about missing dot but this was not directly obvious to me.

A bit of a silly error. Nevertheless, the GUI should report this nicely to the end user. Please implement something for this.

commented Aug 20, 2013 by plantuml (295,000 points)
Ok thanks.
Not sure to have understood why this happens, but we will catch the Exception to turn arround the problem.
...