how to fix "The exception was: java.lang.ClassCastException" error?
I have some codes work on one latest verions of jdk and broken on older version.
The error is "The exception was: java.lang.ClassCastException", which I just can't see why it won't work. Is there a way to find out exactly what class the object is? So, I can compare with what it is cast to? thanks.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.