"Cannot load even default layout, using internally predefined configuration"
By Geertjan-Oracle on Mar 30, 2014
When I created the FeedReader application in NetBeans IDE 8 and then ran it, this is what I saw:
The above tells you something is messed up in the System FileSystem.
The log shows among other things:
Caused: java.io.FileNotFoundException: [WinSys] Missing Window Manager configuration file
[catch] at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:130)
After quite a bit of searching, I discovered this file in the "branding" folder of the application. The "branding" folder can only be seen when you're in the Files window.
I deleted the "resources" folder above, together with the "layer.xml" file that you see there. It contained only "_hidden" elements, i.e., this is an older way of hiding menus and toolbars, that is now obsolete; now you do so within a module instead of in a file within the "branding" folder like the above. (Even better than deleting it is to move its content into one of the layer.xml files of your own modules, e.g., the Feed Reader module.)
Then I cleaned the application. And then I ran the application and everything was OK. Seems like an old file format of the layer.xml file, or maybe something changed in that module, I don't know what the reason is.