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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via apache.org by Unknown author, 1 year ago
Integer cannot be cast to Long
via Google Groups by Hannes, 7 months ago
SqlTest$MyTable2 cannot be cast to SqlTest$MyTable
via GitHub by corndolly
, 2 years ago
java.lang.String cannot be cast to java.lang.Integer
java.lang.ClassCastException: Integer cannot be cast to Long
at undefined.Baz$1$1.current(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.