kotlin.KotlinNullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by AlecStrong
, 1 year ago
This exception has no message.
kotlin.KotlinNullPointerException:
at com.squareup.sqldelight.intellij.SqlDelightManager.getPsi(SqlDelightManager.kt:42)
at com.squareup.sqldelight.intellij.psi.SqlDelightElementRef$resolve$1.invoke(SqlDelightElementRef.kt:52)
at com.squareup.sqldelight.intellij.psi.SqlDelightElementRef$resolve$1.invoke(SqlDelightElementRef.kt:30)
at com.squareup.sqldelight.intellij.lang.SqliteFile.parseThen(SqliteFile.kt:74)
at com.squareup.sqldelight.intellij.lang.SqliteFile.parseThen$default(SqliteFile.kt:68)
at com.squareup.sqldelight.intellij.psi.SqlDelightElementRef.resolve(SqlDelightElementRef.kt:41)
at com.intellij.codeInsight.TargetElementUtil.doGetReferenceOrReferencedElement(TargetElementUtil.java:403)
at com.intellij.codeInsight.TargetElementUtil.getReferenceOrReferencedElement(TargetElementUtil.java:380)
at com.intellij.codeInsight.TargetElementUtil.doFindTargetElement(TargetElementUtil.java:247)
at com.intellij.codeInsight.TargetElementUtil.findTargetElement(TargetElementUtil.java:216)
at com.intellij.codeInsight.navigation.actions.GotoTypeDeclarationAction.findSymbolTypes(GotoTypeDeclarationAction.java:113)
at com.intellij.codeInsight.navigation.actions.GotoTypeDeclarationAction.findSymbolType(GotoTypeDeclarationAction.java:106)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:520)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.getInfoAt(CtrlMouseHandler.java:510)
at com.intellij.codeInsight.navigation.CtrlMouseHandler.access$2600(CtrlMouseHandler.java:106)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.doExecute(CtrlMouseHandler.java:846)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider.access$2500(CtrlMouseHandler.java:786)
at com.intellij.codeInsight.navigation.CtrlMouseHandler$TooltipProvider$1.performInReadAction(CtrlMouseHandler.java:831)
at com.intellij.openapi.progress.util.ReadTask$1.compute(ReadTask.java:70)
at com.intellij.openapi.progress.util.ReadTask$1.compute(ReadTask.java:67)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
at com.intellij.openapi.progress.util.ReadTask.runBackgroundProcess(ReadTask.java:67)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils$7.compute(ProgressIndicatorUtils.java:227)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils$7.compute(ProgressIndicatorUtils.java:223)
at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:162)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:159)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runUnderProgress(ProgressIndicatorUtils.java:223)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.access$000(ProgressIndicatorUtils.java:45)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.