All I do is start a new clean project and I get an error in 5.4.2p1

All I do is start a new clean project and I get this error in 5.4.2p1. Why?

ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[UnityEditor.EditorWindow].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633)
UnityEditor.DockArea.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:328)

Well, first I’d drag your Editor folders out of your project and try building. Does that, at least, stop the error?

It was my custom layout that was causing the errors. I deleted it and redid it. Now it is OK. Thanks.