[protege-owl] GUI exception when tooltipping empty instance

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[protege-owl] GUI exception when tooltipping empty instance

Nikolaj Berntsen
In my domain model I have a value partition. When focus is on the value
partition class in the instance browser tab and I move the mouse over
the "asserted instances" are (which is blank/white, no instances
present) I get the following stacktrace in my console [1].

The stacktrace does not appear to be immediately harmful, but you'll be
the second to know if I discover otherwise.

Cheers,
/\/

[1]
Exception in thread "AWT-EventQueue-0" Exception in thread
"AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.get(ArrayList.java:323)
        at
edu.stanford.smi.protege.util.SimpleListModel.getElementAt(Unknown Source)
        at
edu.stanford.smi.protegex.owl.ui.components.TooltippedSelectableList.getToolTipText(Unknown
Source)
        at javax.swing.ToolTipManager.mouseMoved(ToolTipManager.java:585)
        at
java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseMotionEvent(Component.java:5533)
        at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144)
        at
edu.stanford.smi.protege.util.SelectableList.processMouseMotionEvent(Unknown
Source)
        at java.awt.Component.processEvent(Component.java:5257)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3905)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.get(ArrayList.java:323)
        at
edu.stanford.smi.protege.util.SimpleListModel.getElementAt(Unknown Source)
        at
edu.stanford.smi.protegex.owl.ui.components.TooltippedSelectableList.getToolTipText(Unknown
Source)
        at javax.swing.ToolTipManager.mouseMoved(ToolTipManager.java:585)
        at
java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseMotionEvent(Component.java:5533)
        at
javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144)
        at
edu.stanford.smi.protege.util.SelectableList.processMouseMotionEvent(Unknown
Source)
        at java.awt.Component.processEvent(Component.java:5257)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3905)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

--
Cheers,
/\/ikolaj Berntsen
--
Mobile People A/S
Toldbodgade 31, 2 sal, DK-1253 Copenhagen K
T: +45 7025 2722 F: 70 25 27 23 M: +45 3054 2207

-------------------------------------------------------------------------
To unsubscribe go to http://protege.stanford.edu/community/subscribe.html