java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer

Google Groups | Yang Zhang | 6 years 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

    ClassCastException: java.lang.Long cannot be cast to java.lang.Integer

    Google Groups | 6 years ago | Yang Zhang
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to java.lang.Integer

      at scala.runtime.BoxesRunTime.unboxToInt()
    2. Scala
      Tuple2._2$mcI$sp
      1. scala.runtime.BoxesRunTime.unboxToInt(Unknown Source)[error]
      2. scala.Tuple2._2$mcI$sp(Tuple2.scala:22)[error]
      2 frames
    3. com.pod.db
      DbSetup$$anonfun$mock$1.apply
      1. com.pod.db.DbSetup$$anonfun$mock$1.apply$mcV$sp(db.scala:37)[error]
      2. com.pod.db.DbSetup$$anonfun$mock$1.apply(db.scala:34)[error]
      3. com.pod.db.DbSetup$$anonfun$mock$1.apply(db.scala:34)[error]
      3 frames
    4. ru.circumflex.orm
      package$$anonfun$using$1.apply
      1. ru.circumflex.orm.package$$anonfun$using$1.apply(package.scala:41)[error]
      2. ru.circumflex.orm.package$$anonfun$using$1.apply(package.scala:39)[error]
      2 frames
    5. ru.circumflex.core
      Context$.executeInNew
      1. ru.circumflex.core.Context$.executeInNew(context.scala:83)
      1 frame