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, 1 year ago
java.lang.Long cannot be cast to java.lang.Integer
via koenaerts.ca by Unknown author, 2 years 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)