Cannot read saved layout to disk

hi,
I have recently started to use Docking Frames and I encounter trouble reading a previously saved layout to disk.
I got an exception at file reading (java.io.IOException: Unknown format for version)
The layout is mainly based on SingleDockableFactoryExample of Common

Here is the the xml file: Thank you for help.

[XML]

<?xml version='1.0'?> ccontrol center true false dock.CContentArea.center true 0 dock.PlaceholderList dock.CExternalizeArea true 0 dock.PlaceholderList dock.CContentArea.minimize true 0 dock.PlaceholderList dock.CContentArea.minimize true 0 dock.PlaceholderList dock.CContentArea.minimize true 0 dock.PlaceholderList dock.CContentArea.minimize smooth

[/XML]

Please post the entire exception, including the stacktrace.

This kind of exception would usually appear if you use different versions of he framework for writing and reading the layout information (although the framework should be backwards compatible…). But I guess you did not do that?

Here you are.

Thank you for helping me.

juin 27, 2012 7:22:26 PM com.sprycat.gui.root.ApplicationFrame buildGUI
Grave: null
java.io.IOException: Unknown format for version
at bibliothek.util.Version.read(Version.java:118)
at bibliothek.gui.dock.support.util.ApplicationResourceManager.readStream(ApplicationResourceManager.java:130)
at bibliothek.gui.dock.support.util.ApplicationResourceManager.readFile(ApplicationResourceManager.java:204)
at bibliothek.gui.dock.common.CControl.read(CControl.java:2686)
at com.sprycat.gui.root.ApplicationFrame.buildGUI(ApplicationFrame.java:153)
at com.sprycat.gui.root.ApplicationFrame.(ApplicationFrame.java:51)
at com.sprycat.kernel.KernelRegister.registerGUIComponents(KernelRegister.java:20)
at com.sprycat.SpryCAT.main(SpryCAT.java:37)

Oh: Sorry I used read instead on readXML.
Forget all this.

Hehe, I did not expect that kind of bug. But I fear this is something I will never be able to catch :slight_smile: