sqldelight / sqldelight

SQLDelight - Generates typesafe Kotlin APIs from SQL
https://sqldelight.github.io/sqldelight/
Apache License 2.0
6.21k stars 516 forks source link

java.lang.NoSuchMethodError in SqliteDialect.kt:50 #5017

Open square-clippy opened 9 months ago

square-clippy commented 9 months ago

Error in SQL Delight IntelliJ Plugin

java.lang.NoSuchMethodError in SqliteDialect.kt:50 'java.util.stream.Stream com.intellij.openapi.extensions.ExtensionPoint.extensions()'

View on Bugsnag

Stacktrace

SqliteDialect.kt:50 - app.cash.sqldelight.dialects.sqlite_3_18.SqliteDialect.registerTypeHolder
SqliteDialect.kt:31 - app.cash.sqldelight.dialects.sqlite_3_18.SqliteDialect.setup
SqliteDialect.kt:9 - app.cash.sqldelight.dialects.sqlite_3_24.SqliteDialect.setup
SqliteDialect.kt:9 - app.cash.sqldelight.dialects.sqlite_3_25.SqliteDialect.setup
SqliteDialect.kt:11 - app.cash.sqldelight.dialects.sqlite_3_30.SqliteDialect.setup
SqliteDialect.kt:10 - app.cash.sqldelight.dialects.sqlite_3_35.SqliteDialect.setup
SqliteDialect.kt:8 - app.cash.sqldelight.dialects.sqlite_3_38.SqliteDialect.setup
ParserUtil.kt:23 - app.cash.sqldelight.core.lang.ParserUtil.initializeDialect
SqlDelightParserDefinition.kt:51 - app.cash.sqldelight.core.lang.SqlDelightParserDefinition.createParser
SqlDelightParserDefinition.kt:28 - app.cash.sqldelight.core.lang.SqlDelightParserDefinition.createParser

View full stacktrace

Created automatically via Bugsnag

square-clippy commented 7 months ago

An error linked to this issue has been reopened in Bugsnag java.lang.Throwable in SqliteDialect.kt:50

vanniktech commented 7 months ago

This is still happening for me:

To reindex this file IDEA has to be restarted
java.lang.NoSuchMethodError: 'java.util.stream.Stream com.intellij.openapi.extensions.ExtensionPoint.extensions()'
    at app.cash.sqldelight.dialects.sqlite_3_18.SqliteDialect.registerTypeHolder(SqliteDialect.kt:50)
    at app.cash.sqldelight.dialects.sqlite_3_18.SqliteDialect.setup(SqliteDialect.kt:31)
    at app.cash.sqldelight.core.lang.ParserUtil.initializeDialect(ParserUtil.kt:23)
    at app.cash.sqldelight.core.lang.SqlDelightParserDefinition.createParser(SqlDelightParserDefinition.kt:51)
    at app.cash.sqldelight.core.lang.SqlDelightParserDefinition.createParser(SqlDelightParserDefinition.kt:28)

I am using SQLDelight (2.1.0-SNAPSHOT-1712966210292)

square-clippy commented 7 months ago

An error linked to this issue has been reopened in Bugsnag java.lang.NoSuchMethodError in SqliteDialect.kt:50