We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown
Android Studio Koala | 2024.1.1 Canary 5
SQLite
app.cash.sqldelight.intellij.ProjectService tries to access VFS from the UI thread and freezes for 65seconds
Perfroming slow operations like accessing Virtual file system, PSI, Project model are not recomended on the UI thread.
com.intellij.openapi.application.impl.RwLockHolder.runWriteActionWithClass(RwLockHolder.kt:440) [58100ms] com.intellij.openapi.application.impl.RwLockHolder$$Lambda$5200/0x00000008026de8e0.compute(Unknown Source) [58100ms] com.intellij.openapi.application.impl.RwLockHolder.runEdtProgressWriteAction$lambda$2(RwLockHolder.kt:431) [58100ms] com.intellij.openapi.progress.util.PotemkinProgress.runInSwingThread(PotemkinProgress.java:156) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202) [58100ms] com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager$$Lambda$1367/0x0000000800e88460.compute(Unknown Source) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager$$Lambda$1366/0x0000000800e87cc0.run(Unknown Source) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:220) [58100ms] com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:46) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager$$Lambda$2131/0x00000008014431e8.invoke(Unknown Source) [58100ms] com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:221) [58100ms] com.intellij.openapi.application.impl.RwLockHolder$$Lambda$5204/0x00000008026f4000.run(Unknown Source) [58100ms] com.intellij.openapi.application.impl.RwLockHolder.runEdtProgressWriteAction$lambda$2$lambda$1(RwLockHolder.kt:431) [58100ms] com.intellij.openapi.vfs.newvfs.RefreshSessionImpl$$Lambda$5197/0x00000008026de680.accept(Unknown Source) [58100ms] com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.lambda$fireEvents$1(RefreshSessionImpl.java:222) [58100ms] com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEventsInWriteAction(RefreshSessionImpl.java:240) [58100ms] com.intellij.openapi.vfs.newvfs.AsyncEventSupport.processEventsFromRefresh(AsyncEventSupport.java:153) [58100ms] com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.processEventsImpl(PersistentFSImpl.java:1439) [58100ms] com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.applyMultipleEvents(PersistentFSImpl.java:1476) [58100ms] com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.fireAfterEvents(PersistentFSImpl.java:1499) [58100ms] com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.runSuppressing(PersistentFSImpl.java:1132) [58100ms] com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$$Lambda$5230/0x0000000802704be8.run(Unknown Source) [58100ms] com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.lambda$fireAfterEvents$20(PersistentFSImpl.java:1502) [58100ms] jdk.proxy2/jdk.proxy2.$Proxy259.after(Unknown Source) [58100ms] com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:449) [58100ms] com.intellij.util.messages.impl.ToDirectChildrenMessagePublisher.publish$intellij_platform_core(CompositeMessageBus.kt:310) [58100ms] com.intellij.util.messages.impl.MessageBusImplKt.executeOrAddToQueue(MessageBusImpl.kt:492) [58100ms] com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:664) [58100ms] com.intellij.util.messages.impl.MessageBusImplKt.invokeMethod(MessageBusImpl.kt:700) [58100ms] java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x0000000800a0b800.invokeExact_MT(LambdaForm$MH) [58100ms] java.base@17.0.10/java.lang.invoke.LambdaForm$MH/0x0000000800b3d800.invoke(LambdaForm$MH) [58100ms] java.base@17.0.10/java.lang.invoke.LambdaForm$DMH/0x000000080060a000.invokeInterface(LambdaForm$DMH) [58100ms] app.cash.sqldelight.intellij.ProjectService$1.after(ProjectService.kt:83) [58100ms] com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.getFileType(VirtualFileSystemEntry.java:621) [58100ms] com.intellij.openapi.vfs.VirtualFile.getFileType(VirtualFile.java:356) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.getFileTypeByFile(FileTypeManagerImpl.java:737) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.getFileTypeByFile(FileTypeManagerImpl.java:822) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.internalContinueToDetectFileTypeByFile(FileTypeManagerImpl.java:836) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeDetectionService.getOrDetectFromContent(FileTypeDetectionService.java:203) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeDetectionService.getFirstBytes(FileTypeDetectionService.java:638) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeDetectionService.readFirstBytesFromFile(FileTypeDetectionService.java:625) [58100ms] com.intellij.openapi.fileTypes.impl.FileTypeDetectionService.readSafely(FileTypeDetectionService.java:526) [58100ms] java.base@17.0.10/java.io.BufferedInputStream.read(BufferedInputStream.java:343) [58100ms] java.base@17.0.10/java.io.BufferedInputStream.read1(BufferedInputStream.java:282) [58100ms] java.base@17.0.10/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:101) [58100ms] java.base@17.0.10/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:107) [58100ms] java.base@17.0.10/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65) [58100ms] java.base@17.0.10/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:232) [58100ms] java.base@17.0.10/sun.nio.ch.IOUtil.read(IOUtil.java:273) [58100ms] java.base@17.0.10/sun.nio.ch.IOUtil.read(IOUtil.java:296) [58100ms] java.base@17.0.10/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:330) [58100ms] java.base@17.0.10/sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:48) [58100ms] java.base@17.0.10/sun.nio.ch.FileDispatcherImpl.read0(Native Method) [58100ms]
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SQLDelight Version
unknown
IDE Version
Android Studio Koala | 2024.1.1 Canary 5
Dialect
SQLite
Describe the Bug
app.cash.sqldelight.intellij.ProjectService tries to access VFS from the UI thread and freezes for 65seconds
Perfroming slow operations like accessing Virtual file system, PSI, Project model are not recomended on the UI thread.
Stacktrace
No response
The text was updated successfully, but these errors were encountered: