gephi/trunk — Issue #189: ClassCastException at the first launch
Author: mbastian
Created: 2011-10-22 16:43:42+00:00
State: open
Labels: Low, Won_t Fix

When launching Gephi for the first time, a critical error with the following stack happens. This is due to a bug in Flexdock, our library for docking. This bug is not reproductible and seems to be difficult to track. However it should come only at the first launch, when the default Flexdock perspective is initialized.

Here is the stack of the message

Message:

java.lang.ClassCastException

Level:

SEVERE

Stack Trace:

null

javax.swing.LayoutComparator.compare(Unknown Source)

java.util.Arrays.mergeSort(Unknown Source)

java.util.Arrays.sort(Unknown Source)

java.util.Collections.sort(Unknown Source)

javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(Unknown Source)

javax.swing.SortingFocusTraversalPolicy.getFirstComponent(Unknown Source)

javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(Unknown Source)

javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(Unknown Source)

java.awt.FocusTraversalPolicy.getInitialComponent(Unknown Source)

java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

java.awt.Component.dispatchEventImpl(Unknown Source)

java.awt.Container.dispatchEventImpl(Unknown Source)

java.awt.Window.dispatchEventImpl(Unknown Source)

java.awt.Component.dispatchEvent(Unknown Source)

java.awt.EventQueue.dispatchEvent(Unknown Source)

java.awt.SequencedEvent.dispatch(Unknown Source)

java.awt.EventQueue.dispatchEvent(Unknown Source)

java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

java.awt.EventDispatchThread.pumpEvents(Unknown Source)

java.awt.EventDispatchThread.pumpEvents(Unknown Source)

java.awt.EventDispatchThread.run(Unknown Source)