java.lang.ClassCastException: scala.None$ cannot be cast to

Google Groups | Clint Gilbert | 2 years ago
  1. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to
  2. 0

    Brique `lookup` test failing

    GitHub | 2 years ago | VladUreche
    java.lang.ClassCastException: scala.None$ cannot be cast to java.lang.Integer
  3. 0

    Failed serialization of objects with collections of objects when using a custom TypeResolverBuilder

    GitHub | 3 years ago | connollyst
    java.lang.ClassCastException: scala.None$ cannot be cast to com.fasterxml.jackson.databind.JsonSerializer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to > net.shrine.util.SEnum$Value at > net.shrine.util.SEnum$Value$class.equals(SEnum.scala:38) at > net.shrine.protocol.query.QueryTiming.equals(QueryTiming.scala:12) > at > org.squeryl.internals.FieldReferenceLinker$.org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse(FieldReferenceLinker.scala:247) > >
  6. 0

    Scala 2.11.5 and Squeryl?

    Google Groups | 2 years ago | Clint Gilbert
    java.lang.ClassCastException: scala.None$ cannot be cast to > net.shrine.util.SEnum$Value at > net.shrine.util.SEnum$Value$class.equals(SEnum.scala:38) at > net.shrine.protocol.query.QueryTiming.equals(QueryTiming.scala:12) > at > org.squeryl.internals.FieldReferenceLinker$.org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse(FieldReferenceLinker.scala:247) > >

    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.ClassCastException

      scala.None$ cannot be cast to

      at net.shrine.util.SEnum$Value$class.equals()
    2. net.shrine.util
      SEnum$Value$class.equals
      1. net.shrine.util.SEnum$Value$class.equals(SEnum.scala:38)
      1 frame
    3. net.shrine.protocol
      QueryTiming.equals
      1. net.shrine.protocol.query.QueryTiming.equals(QueryTiming.scala:12)
      1 frame
    4. squeryl
      FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply
      1. org.squeryl.internals.FieldReferenceLinker$.org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse(FieldReferenceLinker.scala:247)
      2. org.squeryl.internals.FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply(FieldReferenceLinker.scala:263)
      3. org.squeryl.internals.FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply(FieldReferenceLinker.scala:257)
      3 frames
    5. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
      2 frames
    6. squeryl
      FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply
      1. org.squeryl.internals.FieldReferenceLinker$.org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse(FieldReferenceLinker.scala:257)
      2. org.squeryl.internals.FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply(FieldReferenceLinker.scala:263)
      3. org.squeryl.internals.FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply(FieldReferenceLinker.scala:257)
      3 frames
    7. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
      2 frames
    8. squeryl
      FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply
      1. org.squeryl.internals.FieldReferenceLinker$.org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse(FieldReferenceLinker.scala:257)
      2. org.squeryl.internals.FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply(FieldReferenceLinker.scala:263)
      3. org.squeryl.internals.FieldReferenceLinker$$anonfun$org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse$1.apply(FieldReferenceLinker.scala:257)
      3 frames
    9. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)
      2 frames
    10. squeryl
      FromSignatures$class.from
      1. org.squeryl.internals.FieldReferenceLinker$.org$squeryl$internals$FieldReferenceLinker$$_populateSelectColsRecurse(FieldReferenceLinker.scala:257)
      2. org.squeryl.internals.FieldReferenceLinker$.determineColumnsUtilizedInYeldInvocation(FieldReferenceLinker.scala:215)
      3. org.squeryl.dsl.fsm.BaseQueryYield.invokeYieldForAst(BaseQueryYield.scala:86)
      4. org.squeryl.dsl.AbstractQuery.buildAst(AbstractQuery.scala:104)
      5. org.squeryl.dsl.boilerplate.Query1.<init>(Query1.scala:34)
      6. org.squeryl.dsl.boilerplate.FromSignatures$class.from(FromSignatures.scala:25)
      6 frames
    11. net.shrine.dao
      SquerylEntryPoint$.from
      1. net.shrine.dao.squeryl.SquerylEntryPoint$.from(SquerylEntryPoint.scala:12)
      1 frame