java.lang.NullPointerException: null


java.lang.NullPointerException: null
	at bibliothek.gui.dock.station.split.DefaultSplitLayoutManager.validateDivider(DefaultSplitLayoutManager.java:345) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.station.split.DefaultSplitLayoutManager.calculateDivider(DefaultSplitLayoutManager.java:238) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.facile.station.split.DelegatingSplitLayoutManager.calculateDivider(DelegatingSplitLayoutManager.java:52) ~[dockingFramesCommon.jar:na]
	at bibliothek.gui.dock.SplitDockStation.drop(SplitDockStation.java:1784) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.SplitDockStation.drop(SplitDockStation.java:1718) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.SplitDockStation.move(SplitDockStation.java:2003) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.control.relocator.MoveOperation.execute(MoveOperation.java:58) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.control.DefaultDockRelocator.executeOperation(DefaultDockRelocator.java:166) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.control.DefaultDockRelocator.dragMouseReleased(DefaultDockRelocator.java:683) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.control.DefaultDockRelocator.dragMouseReleased(DefaultDockRelocator.java:615) ~[dockingFramesCore.jar:na]
	at bibliothek.gui.dock.control.DefaultDockRelocator$MouseRepresentativeListener.mouseReleased(DefaultDockRelocator.java:883) ~[dockingFramesCore.jar:na]
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273) ~[na:1.6.0_22]
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) ~[na:1.6.0_22]
	at java.awt.Component.processMouseEvent(Component.java:6267) ~[na:1.6.0_22]
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) ~[na:1.6.0_22]
	at java.awt.Component.processEvent(Component.java:6032) ~[na:1.6.0_22]
	at java.awt.Container.processEvent(Container.java:2041) ~[na:1.6.0_22]
	at java.awt.Component.dispatchEventImpl(Component.java:4630) ~[na:1.6.0_22]
	at java.awt.Container.dispatchEventImpl(Container.java:2099) ~[na:1.6.0_22]
	at java.awt.Component.dispatchEvent(Component.java:4460) ~[na:1.6.0_22]
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) ~[na:1.6.0_22]
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) ~[na:1.6.0_22]
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) ~[na:1.6.0_22]
	at java.awt.Container.dispatchEventImpl(Container.java:2085) ~[na:1.6.0_22]
	at java.awt.Window.dispatchEventImpl(Window.java:2478) ~[na:1.6.0_22]
	at java.awt.Component.dispatchEvent(Component.java:4460) ~[na:1.6.0_22]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) ~[na:1.6.0_22]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) [na:1.6.0_22]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) [na:1.6.0_22]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) [na:1.6.0_22]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) [na:1.6.0_22]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) [na:1.6.0_22]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) [na:1.6.0_22]

1.add dockable
2.add dockable

There are two dockable.

3.Drag and drop into a split.

4.close one dockable

5.Drag and drop into a split.
6.Exception

Step 5, when in fact, can not split the.Because only an dockable.

Ok, never saw this bug, and this part of the framework did not change for a long time. But I’ll see If I can reproduce the bug. I’ll report back in the evening.

Just one question to make sure: you never override the “getPreferredSize” [edit: or “getMinimumSize”] method of a Component and return “null” in your application?

Sure does not return null.This is reproducible.According to my steps.

Previous versions of this problem also exists.

Ok, now I can reproduce the bug. Sorry for doubting your application, it was - as most times - a bug in the framework. It is really a hidden bug, and it must be in framework since several months.

I’m currently uploading a fixed version, once you read this post 1.1.0p6g should be online.

Thanks for reporting this bug, it always helps if someone tells me such stuff.