IDEA-163371 IntelliJ project view stops working: "null keys not supported

(cherry picked from commit b35672d5b7a0275618432c5a8e31a65bd3e17f4d)
This commit is contained in:
Konstantin Bulenkov
2016-10-31 16:13:19 +01:00
parent b71807a0a7
commit e5000a7103
@@ -1534,11 +1534,13 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
@NotNull
private ActionCallback setPaneOption(@NotNull Map<String, Boolean> optionsMap, boolean value, String paneId, final boolean updatePane) {
optionsMap.put(paneId, value);
if (updatePane) {
final AbstractProjectViewPane pane = getProjectViewPaneById(paneId);
if (pane != null) {
return pane.updateFromRoot(false);
if (paneId != null) {
optionsMap.put(paneId, value);
if (updatePane) {
final AbstractProjectViewPane pane = getProjectViewPaneById(paneId);
if (pane != null) {
return pane.updateFromRoot(false);
}
}
}
return ActionCallback.DONE;