Skip to content
New issue

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

SqlDelight plugin breaks IntellIJ 2022.1 EAP #2804

Closed
madisp opened this issue Feb 2, 2022 · 0 comments
Closed

SqlDelight plugin breaks IntellIJ 2022.1 EAP #2804

madisp opened this issue Feb 2, 2022 · 0 comments

Comments

@madisp
Copy link
Contributor

madisp commented Feb 2, 2022

SQLDelight Version

1.5.3

IDE Version

IntelliJ 2022.1 EAP

Dialect

PostgreSQL

Describe the Bug

IDE navigation breaks quite often. I see the "IDE error occurred" popup on the right.

Stacktrace

java.util.NoSuchElementException: Collection contains no element matching the predicate.
	at com.squareup.sqldelight.intellij.SqlDelightGotoDeclarationHandler.getGotoDeclarationTargets(SqlDelightGotoDeclarationHandler.kt:180)
	at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.fromGTDProvidersInner(gtdProviders.kt:31)
	at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.access$fromGTDProvidersInner(gtdProviders.kt:1)
	at com.intellij.codeInsight.navigation.impl.GtdProvidersKt$fromGTDProviders$1.invoke(gtdProviders.kt:18)
	at com.intellij.codeInsight.navigation.impl.GtdProvidersKt$fromGTDProviders$1.invoke(gtdProviders.kt)
	at com.intellij.codeInsight.navigation.impl.CommonKt.processInjectionThenHost(common.kt:25)
	at com.intellij.codeInsight.navigation.impl.GtdProvidersKt.fromGTDProviders(gtdProviders.kt:17)
	at com.intellij.codeInsight.navigation.actions.GotoDeclarationOrUsageHandler2.gotoDeclarationOrUsages(GotoDec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants