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

JIRA | Gregor Heine | 4 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

    first class byte literals (no hints required)

    Google Groups | 5 years ago | softprops
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  2. 0

    [SI-4437] long-standing spec issues with asInstanceOf - Scala

    scala-lang.org | 5 months ago
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Pattern match => missing coercion

    GitHub | 2 years ago | VladUreche
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long

  1. Handemelindo 4 times, last 4 months ago
  2. rp 5 times, last 5 months ago
  3. tyson925 5 times, last 6 months ago
  4. kid 3 times, last 8 months ago
  5. poroszd 2 times, last 9 months ago
3 unregistered visitors
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

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

    at scala.runtime.BoxesRunTime.unboxToLong()
  2. Scala
    BoxesRunTime.unboxToLong
    1. scala.runtime.BoxesRunTime.unboxToLong(Unknown Source)
    1 frame