java.lang.IllegalStateException: insert.values() must not be null

GitHub | AlecStrong | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception: insert.values() must not be null

    GitHub | 8 months ago | AlecStrong
    java.lang.IllegalStateException: insert.values() must not be null
  2. 0

    Plugin: IllegalStateException: selectOrValues.expr(0) must not be null

    GitHub | 7 months ago | PaulWoitaschek
    java.lang.IllegalStateException: selectOrValues.expr(0) must not be null

    Root Cause Analysis

    1. java.lang.IllegalStateException

      insert.values() must not be null

      at com.squareup.sqldelight.validation.InsertValidator.validate()
    2. com.squareup.sqldelight
      SqlDelightElementRef.resolve
      1. com.squareup.sqldelight.validation.InsertValidator.validate(InsertValidator.kt:64)
      2. com.squareup.sqldelight.validation.SqlDelightValidator.validate(SqlDelightValidator.kt:120)
      3. com.squareup.sqldelight.intellij.psi.SqlDelightElementRef$resolve$1.invoke(SqlDelightElementRef.kt:48)
      4. com.squareup.sqldelight.intellij.psi.SqlDelightElementRef$resolve$1.invoke(SqlDelightElementRef.kt:30)
      5. com.squareup.sqldelight.intellij.lang.SqliteFile.parseThen(SqliteFile.kt:74)
      6. com.squareup.sqldelight.intellij.lang.SqliteFile.parseThen$default(SqliteFile.kt:68)
      7. com.squareup.sqldelight.intellij.psi.SqlDelightElementRef.resolve(SqlDelightElementRef.kt:41)
      7 frames
    3. IDEA
      JobLauncherImpl$VoidForkJoinTask$1.exec
      1. com.intellij.psi.PsiReferenceBase.isReferenceTo(PsiReferenceBase.java:128)
      2. com.intellij.psi.search.SingleTargetRequestResultProcessor.processTextOccurrence(SingleTargetRequestResultProcessor.java:52)
      3. com.intellij.psi.impl.search.PsiSearchHelperImpl$15.execute(PsiSearchHelperImpl.java:762)
      4. com.intellij.psi.impl.search.LowLevelSearchUtil.processTreeUp(LowLevelSearchUtil.java:129)
      5. com.intellij.psi.impl.search.LowLevelSearchUtil.access$000(LowLevelSearchUtil.java:42)
      6. com.intellij.psi.impl.search.LowLevelSearchUtil$1.execute(LowLevelSearchUtil.java:199)
      7. com.intellij.psi.impl.search.LowLevelSearchUtil.processTextOccurrences(LowLevelSearchUtil.java:242)
      8. com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:195)
      9. com.intellij.psi.impl.search.PsiSearchHelperImpl$2.processInReadAction(PsiSearchHelperImpl.java:199)
      10. com.intellij.psi.impl.search.PsiSearchHelperImpl$2.processInReadAction(PsiSearchHelperImpl.java:187)
      11. com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:31)
      12. com.intellij.openapi.application.ReadActionProcessor$1.compute(ReadActionProcessor.java:28)
      13. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:962)
      14. com.intellij.openapi.application.ReadActionProcessor.process(ReadActionProcessor.java:28)
      15. com.intellij.concurrency.JobLauncherImpl$2$1.run(JobLauncherImpl.java:148)
      16. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      17. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:443)
      18. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      19. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      20. com.intellij.concurrency.JobLauncherImpl$2.run(JobLauncherImpl.java:142)
      21. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1181)
      22. com.intellij.concurrency.JobLauncherImpl.processImmediatelyIfTooFew(JobLauncherImpl.java:158)
      23. com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:96)
      24. com.intellij.psi.impl.search.PsiSearchHelperImpl.processElementsWithWord(PsiSearchHelperImpl.java:207)
      25. com.intellij.psi.impl.search.PsiSearchHelperImpl.processSingleRequest(PsiSearchHelperImpl.java:949)
      26. com.intellij.psi.impl.search.PsiSearchHelperImpl.processRequests(PsiSearchHelperImpl.java:620)
      27. com.intellij.psi.search.SearchRequestQuery.processResults(SearchRequestQuery.java:45)
      28. com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:75)
      29. com.intellij.util.MergeQuery.processSubQuery(MergeQuery.java:84)
      30. com.intellij.util.MergeQuery.forEach(MergeQuery.java:56)
      31. com.intellij.util.UniqueResultsQuery.process(UniqueResultsQuery.java:66)
      32. com.intellij.util.UniqueResultsQuery.forEach(UniqueResultsQuery.java:56)
      33. com.intellij.util.UniqueResultsQuery.findAll(UniqueResultsQuery.java:78)
      34. com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.getUsages(IdentifierHighlighterPass.java:157)
      35. com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.getHighlightUsages(IdentifierHighlighterPass.java:133)
      36. com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.highlightTargetUsages(IdentifierHighlighterPass.java:189)
      37. com.intellij.codeInsight.daemon.impl.IdentifierHighlighterPass.doCollectInformation(IdentifierHighlighterPass.java:106)
      38. com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:70)
      39. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:444)
      40. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1181)
      41. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:435)
      42. com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:446)
      43. com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
      44. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
      45. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:432)
      46. com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
      47. com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:206)
      47 frames
    4. 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