Top "Classcastexception" questions

The Java exception thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.

ClassCastException when casting looked-up EJB view in AS7

I have am deploying 2 EARs onto JBoss AS 7.1.0.Alpha1-SNAPSHOT (post 7.0.1.Final version). Both deploy fine. I have an EJB …

java ejb jndi classcastexception jboss7.x
Meaning of java.lang.ClassCastException: someClass incompatible with someClass

I was experiencing occasional exceptions in XPages application: java.lang.ClassCastException: someClass incompatible with someClass. Both mentioned classes are the …

java lotus-domino classcastexception xpages
Android ClassCast exception when binding to service

Ok, I'm new to android development and am trying to bind to a service so that I can call methods …

android binding service android-activity classcastexception
android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.AbsListView$LayoutParams

There are other related issues on this but they do not address my situation (their error code has to do …

java android classcastexception android-framelayout android-runtime
ClassCastException when Appending Object OutputStream

I have been trying to do a little project that needs an appendable ObjectOutputStream. I have gone through a couple …

java serialization classcastexception java-io
ClassCastException when trying to do readParcelable on custom object array

I'm trying to implement Parcelable instead of Serializble as it's supposed to be more efficient. From my MainActivity I want …

android arrays classcastexception parcelable
Get All Installed Application icons in Android : java.lang.ClassCastException

There is a java.lang.ClassCastException when I am trying to get a installed applications icon. Here is my code. …

android bitmap classcastexception nine-patch
Hibernate 4 ClassCastException on LAZY loading while EAGER works fine

I have the following JOINED inheritance root entity for geographic areas (like continents, countries, states etc.): @Entity @Table(name = "GeoAreas") @…

hibernate jpa lazy-loading classcastexception hibernate-4.x