diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java index 7d824ebee8f7..5a0f4988932b 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java @@ -564,7 +564,7 @@ public class FSRecords { } private static ResizeableMappedFile getRecords() { - assert DbConnection.ourInitialized; + assert DbConnection.myRecords != null:"Vfs should be initialized"; return DbConnection.myRecords; }