Bug when moving dockables

Hi!
We have got a bug which is difficult to reproduce but happens from time to time when just moving dockables from one position to another.
Here the stack trace:

Source)
bibliothek.gui.dock.station.split.DefaultSplitLayoutManager.calculateDivider(Unknown
Source)
bibliothek.gui.dock.facile.station.split.DelegatingSplitLayoutManager.calculateDivider(Unknown
Source)

bibliothek.gui.dock.SplitDockStation.drop(Unknown Source)
bibliothek.gui.dock.SplitDockStation.drop(Unknown Source)
bibliothek.gui.dock.SplitDockStation.move(Unknown Source)
bibliothek.gui.dock.control.relocator.MoveOperation.execute(Unknown Source)

bibliothek.gui.dock.control.DefaultDockRelocator.executeOperation(Unknown
Source)
bibliothek.gui.dock.control.DefaultDockRelocator.dragMouseReleased(Unknown
Source)
bibliothek.gui.dock.control.DefaultDockRelocator.dragMouseReleased(Unknown
Source)
bibliothek.gui.dock.control.DefaultDockRelocator$MouseRepresentativeListener.mouseReleased(Unknown
Source)

java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(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.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)```

Best regards,
grml

Hm, ok. What kind of exception is it? (NullPointerException, IllegalArgumentException…)

Sorry, I forgot to mention. It is a NullPointerException.
Best,
grml

And it happened in the last version preview 5a.

The current version is preview 5e, you may want to download the update :slight_smile: A few weeks ago I did repair a bug that might be the same as this one, but I’ll double check anyway.