java.lang.ClassCastException: com.squareup.sqldelight.intellij.lang.SqliteParserDefinition$createFile$1 cannot be cast to com.squareup.sqldelight.intellij.lang.SqliteFile

GitHub | AlecStrong | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    ClassCastException

    GitHub | 7 months ago | AlecStrong
    java.lang.ClassCastException: com.squareup.sqldelight.intellij.lang.SqliteParserDefinition$createFile$1 cannot be cast to com.squareup.sqldelight.intellij.lang.SqliteFile

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.squareup.sqldelight.intellij.lang.SqliteParserDefinition$createFile$1 cannot be cast to com.squareup.sqldelight.intellij.lang.SqliteFile

      at com.squareup.sqldelight.intellij.lang.SqlDocumentAnnotator.collectInformation()
    2. com.squareup.sqldelight
      SqlDocumentAnnotator.collectInformation
      1. com.squareup.sqldelight.intellij.lang.SqlDocumentAnnotator.collectInformation(SqlDocumentAnnotator.kt:26)
      2. com.squareup.sqldelight.intellij.lang.SqlDocumentAnnotator.collectInformation(SqlDocumentAnnotator.kt:25)
      2 frames
    3. Openapi
      ExternalAnnotator.collectInformation
      1. com.intellij.lang.annotation.ExternalAnnotator.collectInformation(ExternalAnnotator.java:57)
      1 frame
    4. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.codeInsight.daemon.impl.ExternalToolPass.collectInformationWithProgress(ExternalToolPass.java:115)
      2. com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:82)
      3. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      4. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
      5. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1181)
      6. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
      7. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      8. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      9. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      10. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
      11. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
      12. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
      12 frames
    5. Quasar
      ForkJoinWorkerThread.run
      1. jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
      3. jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
      4. jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
      5. jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:108)
      5 frames