java.lang.IllegalStateException: The monad composition can't be expressed using applicative joins. Faulty expression: '(x1._1 == h2.id) && (x1._2 == h2.value)'. Free variables: 'List(h2)'.

GitHub | mxl | 6 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

    GitHub comment 538#242409364

    GitHub | 6 months ago | mxl
    java.lang.IllegalStateException: The monad composition can't be expressed using applicative joins. Faulty expression: '(x1._1 == h2.id) && (x1._2 == h2.value)'. Free variables: 'List(h2)'.
  2. 0

    groupBy in for-comprehension

    GitHub | 6 months ago | mxl
    java.lang.IllegalStateException: The monad composition can't be expressed using applicative joins. Faulty expression: 'a.id == ?'. Free variables: 'List(a)'.
  3. 0

    groupBy after join compiles only with nested and generates invalid query

    GitHub | 1 month ago | mxl
    java.lang.IllegalStateException: The monad composition can't be expressed using applicative joins. Faulty expression: 'x1x2._1'. Free variables: 'List(x1x2)'., Faulty expression: 'x1x2._2'. Free variables: 'List(x1x2)'., Faulty expression: 'x1x2._2.sum'. Free variables: 'List(x1x2)'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 63#166950243

    GitHub | 1 year ago | mariusmuja
    java.lang.IllegalStateException: A `groupBy` clause must be followed by `map`.
  6. 0

    Error using aggregate functions

    GitHub | 1 year ago | mariusmuja
    java.lang.IllegalStateException: Query not properly normalized. Please open a bug report. Ast: 'p'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The monad composition can't be expressed using applicative joins. Faulty expression: '(x1._1 == h2.id) && (x1._2 == h2.value)'. Free variables: 'List(h2)'.

      at io.getquill.util.Messages$.fail()
    2. io.getquill.util
      Messages$.fail
      1. io.getquill.util.Messages$.fail(Messages.scala:8)
      1 frame
    3. io.getquill.context
      SqlIdiom$$anonfun$1.apply
      1. io.getquill.context.sql.idiom.SqlIdiom$$anonfun$1.apply(SqlIdiom.scala:40)
      2. io.getquill.context.sql.idiom.SqlIdiom$$anonfun$1.apply(SqlIdiom.scala:40)
      2 frames
    4. Scala
      Option.map
      1. scala.Option.map(Option.scala:146)
      1 frame
    5. io.getquill.context
      SqlIdiom$class.translate
      1. io.getquill.context.sql.idiom.SqlIdiom$class.translate(SqlIdiom.scala:40)
      1 frame
    6. io.getquill
      PostgresDialect$.translate
      1. io.getquill.PostgresDialect$.translate(PostgresDialect.scala:29)
      1 frame
    7. io.getquill.context
      QueryMacro.runQuery
      1. io.getquill.context.ContextMacro$class.translateStatic(ContextMacro.scala:56)
      2. io.getquill.context.ContextMacro$class.translate(ContextMacro.scala:43)
      3. io.getquill.context.ContextMacro$class.expand(ContextMacro.scala:30)
      4. io.getquill.context.QueryMacro.expand(QueryMacro.scala:12)
      5. io.getquill.context.QueryMacro.expandQuery(QueryMacro.scala:30)
      6. io.getquill.context.QueryMacro.runQuery(QueryMacro.scala:16)
      6 frames