I recently tried to start Docking-Frames using Java 7 and it seems like this doesn’t work any more.
I got the following NullPointerException
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at bibliothek.gui.dock.themes.basic.BasicColorScheme.updateUI(Unknown Source)
at bibliothek.gui.dock.themes.basic.BasicColorScheme.<init>(Unknown Source)
at bibliothek.gui.dock.themes.BasicTheme$1.getDefault(Unknown Source)
at bibliothek.gui.dock.themes.BasicTheme$1.getDefault(Unknown Source)
at bibliothek.gui.dock.util.PropertyKey.getDefault(Unknown Source)
at bibliothek.gui.dock.util.DockProperties$Entry.getDefault(Unknown Source)
at bibliothek.gui.dock.util.DockProperties$Entry.getValue(Unknown Source)
at bibliothek.gui.dock.util.DockProperties.get(Unknown Source)
at bibliothek.gui.dock.util.PropertyValue.getValue(Unknown Source)
at bibliothek.gui.dock.util.PropertyValue.setProperties(Unknown Source)
at bibliothek.gui.dock.util.PropertyValue.setProperties(Unknown Source)
at bibliothek.gui.dock.themes.BasicTheme.install(Unknown Source)
at bibliothek.gui.dock.themes.BasicTheme.install(Unknown Source)
at bibliothek.gui.dock.themes.ThemeManager.setTheme(Unknown Source)
at bibliothek.gui.DockController.setTheme(Unknown Source)
at bibliothek.gui.DockController.initiate(Unknown Source)
at bibliothek.gui.DockController.<init>(Unknown Source)
at bibliothek.gui.DockController.<init>(Unknown Source)
at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.<init>(Unknown Source)
at bibliothek.gui.dock.common.intern.EfficientControlFactory.createController(Unknown Source)
at bibliothek.gui.dock.common.CControl.init(Unknown Source)
at bibliothek.gui.dock.common.CControl.<init>(Unknown Source)
at bibliothek.gui.dock.common.CControl.<init>(Unknown Source)
at bibliothek.gui.dock.common.CControl.<init>(Unknown Source)
at bibliothek.gui.dock.common.CControl.<init>(Unknown Source)
at client.MainWindow.createMenuBar(MainWindow.java:399)
where the line 399 is a simple call to the default constructor of ccontrol:
fControl = new CControl();
Is there a simple solution to fix this?