java.lang.IllegalStateException: Can't determine SQL data type. JdbcEncoder is expected.

GitHub | LMnet | 3 months ago
  1. 0

    GitHub comment 525#241622424

    GitHub | 3 months ago | LMnet
    java.lang.IllegalStateException: Can't determine SQL data type. JdbcEncoder is expected.
  2. 0

    GitHub comment 63#166950243

    GitHub | 11 months ago | mariusmuja
    java.lang.IllegalStateException: A `groupBy` clause must be followed by `map`.
  3. 0

    Error using aggregate functions

    GitHub | 11 months ago | mariusmuja
    java.lang.IllegalStateException: Query not properly normalized. Please open a bug report. Ast: 'p'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Simple expressions in sortBy

    GitHub | 11 months ago | mariusmuja
    java.lang.IllegalStateException: Invalid order by criteria -p.age
  6. 0

    `drop` and `take` cannot follow by `join`

    GitHub | 8 months ago | suhyunjeon
    java.lang.IllegalStateException: The monad composition can't be expressed using applicative joins. Faulty expression: 'pc._1.id'. Free variables: 'List(pc)'., Free variables: 'List(pc)'., Faulty expression: 'pc._2.id'. Free variables: 'List(pc)'., Faulty expression: 'pc._2.type'. Free variables: 'List(pc)'., Free variables: 'List(pc)'.

    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

      Can't determine SQL data type. JdbcEncoder is expected.

      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
      Expand$$anonfun$2$$anonfun$apply$1.apply
      1. io.getquill.context.jdbc.JdbcEncoders$$anon$2.apply(JdbcEncoders.scala:39)
      2. io.getquill.context.jdbc.JdbcEncoders$$anon$2.apply(JdbcEncoders.scala:33)
      3. io.getquill.context.Expand$$anonfun$2$$anonfun$apply$1.apply(Expand.scala:30)
      4. io.getquill.context.Expand$$anonfun$2$$anonfun$apply$1.apply(Expand.scala:27)
      4 frames
    4. Scala
      List.foldLeft
      1. scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
      2. scala.collection.immutable.List.foldLeft(List.scala:84)
      2 frames
    5. io.getquill.context
      Expand$$anonfun$2.apply
      1. io.getquill.context.Expand$$anonfun$2.apply(Expand.scala:27)
      1 frame
    6. io.getquill
      JdbcContext$$anonfun$withConnection$1.apply
      1. io.getquill.JdbcContext$$anonfun$executeAction$1.apply(JdbcContext.scala:98)
      2. io.getquill.JdbcContext$$anonfun$executeAction$1.apply(JdbcContext.scala:96)
      3. io.getquill.JdbcContext$$anonfun$withConnection$1.apply(JdbcContext.scala:51)
      3 frames
    7. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:121)
      1 frame
    8. io.getquill
      JdbcContext.executeAction
      1. io.getquill.JdbcContext.withConnection(JdbcContext.scala:49)
      2. io.getquill.JdbcContext.executeAction(JdbcContext.scala:96)
      2 frames
    9. test
      QuillTest$delayedInit$body.apply
      1. test.QuillTest$.delayedEndpoint$test$QuillTest$1(QuillTest.scala:24)
      2. test.QuillTest$delayedInit$body.apply(QuillTest.scala:15)
      2 frames
    10. Scala
      App$class.main
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:34)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:76)
      4. scala.App$$anonfun$main$1.apply(App.scala:76)
      5. scala.collection.immutable.List.foreach(List.scala:381)
      6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
      7. scala.App$class.main(App.scala:76)
      7 frames
    11. test
      QuillTest.main
      1. test.QuillTest$.main(QuillTest.scala:15)
      2. test.QuillTest.main(QuillTest.scala)
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames