Hello Beni,
I’m getting the following random error:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.LinkedList$ListItr.next(LinkedList.java:891)
at bibliothek.gui.dock.control.focus.DefaultFocusHistory.getHistory(DefaultFocusHistory.java:76)
at bibliothek.gui.dock.common.DefaultCFocusHistory.getHistory(DefaultCFocusHistory.java:58)
at bibliothek.gui.dock.common.DefaultCFocusHistory.getFirst(DefaultCFocusHistory.java:70)
at bibliothek.gui.dock.common.intern.AbstractCDockable.setLocationsAside(AbstractCDockable.java:409)
at bibliothek.gui.dock.common.intern.AbstractCDockable.setLocationsAsideFocused(AbstractCDockable.java:418)
at bibliothek.gui.dock.common.CWorkingArea.show(CWorkingArea.java:122)
at MainTableFrame.createNewDock(MainTableFrame.java:1828)
About once every 20 times I start my program, when it creates the first DefaultMultipleCDockable, I get the above error.
Line # 1828 of MainTableFrame.java is:
cwArea.show(dmcd);
It has never happened when the code opens the 2nd, 3rd, etc. DefaultMultipleCDockable but only on the first DefaultMultipleCDockable.
Note: I’m using the latest release of Docking Frames (Preview 17b).
Regards,
Roger