sqldelight icon indicating copy to clipboard operation
sqldelight copied to clipboard

java.lang.Throwable in SqlDelightHighlightVisitor.kt:53

Open square-clippy opened this issue 2 months ago • 0 comments

Error in SQL Delight IntelliJ Plugin

java.lang.Throwable in SqlDelightHighlightVisitor.kt:53 psiElement is not instance of requiredClass. psiElement=null, requiredClass=interface com.alecstrong.sql.psi.core.psi.SchemaContributor, operation=Looking for com.alecstrong.sql.psi.core.psi.TableElement in sqldelight.schema, stubIdList=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]. ref: 50cf572587cf com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: PSI and index do not match. Please report the problem to JetBrains with the files attached file=FILE, file.class=class app.cash.sqldelight.core.lang.MigrationFile, file.lang=Language: SqlDelightMigration, modStamp=146 AST INCONSISTENT, perhaps after incremental reparse; FILE stub debugInfo=created in calcStubTree; with backReference viewProvider=app.cash.sqldelight.intellij.lang.SqlDelightFileViewProvider{vFile=file:///home/morki/Projects/interaso/edison/src/main/sqldelight2/com/interaso/edison/ruian/database/schema/1.sqm, vFileId=2299311, content=VirtualFileContent{size=2207}, eventSystemEnabled=true} viewProvider stamp: 38900...

View on Bugsnag

Stacktrace

SqlDelightHighlightVisitor.kt:53 - app.cash.sqldelight.intellij.lang.SqlDelightHighlightVisitor.analyze

View full stacktrace

Created automatically via Bugsnag

square-clippy avatar May 07 '24 17:05 square-clippy