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

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 Google Groups by Manoj Waikar, 10 months ago
java.lang.Long cannot be cast to java.lang.Integer
via koenaerts.ca by Unknown author, 1 year ago
java.lang.Long cannot be cast to java.lang.Integer
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
at org.bson.Document.getInteger(Document.java:151)

Users with the same issue

6 times, 9 months ago

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