Environment:
- Java: JetBrains s.r.o. 21.0.3
- OS: Windows 11 amd64
- IDE: IntelliJ IDEA 2024.2 EAP
- SonarLint: 10.7.0.78874
java.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc.
at c.ij.oa.diagnostic.Logger.error(Logger.java:376)
at c.ij.util.SlowOperations.assertSlowOperationsAreAllowed(SlowOperations.java:106)
at c.ij.oa.vfs.impl.local.LocalFileSystemBase.convertToNioFileAndCheck(LocalFileSystemBase.java:148)
at c.ij.oa.vfs.impl.local.LocalFileSystemBase.getInputStream(LocalFileSystemBase.java:428)
at c.ij.oa.fileTypes.impl.FileTypeDetectionService.readFirstBytesFromFile(FileTypeDetectionService.java:619)
at c.ij.oa.fileTypes.impl.FileTypeDetectionService.getFirstBytes(FileTypeDetectionService.java:638)
at c.ij.oa.fileTypes.impl.FileTypeDetectionService.detectFromContentAndCache(FileTypeDetectionService.java:515)
at c.ij.oa.fileTypes.impl.FileTypeDetectionService.getOrDetectFromContent(FileTypeDetectionService.java:247)
at c.ij.oa.fileTypes.impl.FileTypeManagerImpl.isFileOfType(FileTypeManagerImpl.java:774)
at c.ij.database.util.DbSqlUtil.isSqlFileCoarse(DbSqlUtil.java:69)
at c.ij.database.editor.DatabaseEditorHelper.restoreAttachedConsole(DatabaseEditorHelper.java:330)
at c.ij.database.editor.DatabaseEditorHelper$1.fileOpened(DatabaseEditorHelper.java:122)
at c.ij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:700)
at c.ij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:660)
at c.ij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:423)