java.lang.ClassCastException: Cannot cast my.Class$$EnhancerLAZY$$c703f20 to my.Class

GitHub | gabor-farkas | 3 months ago
  1. 0

    LazyModel - Static cache is causing problems in appservers

    GitHub | 3 months ago | gabor-farkas
    java.lang.ClassCastException: Cannot cast my.Class$$EnhancerLAZY$$c703f20 to my.Class
  2. 0

    ClassCastException in Spray Client

    Stack Overflow | 1 year ago | Arpit
    java.lang.ClassCastException: Cannot cast akka.io.Tcp$ErrorClosed to spray.http.HttpResponse
  3. 0

    Gatekeeper fails to update config with cast exception

    GitHub | 2 years ago | CoreyBehrends
    java.lang.ClassCastException: Cannot cast java.util.LinkedHashMap to java.lang.Void
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException exception when running Robolectric test with Power Mock on multiple files

    Stack Overflow | 1 year ago | benjosantony
    org.mockito.exceptions.base.MockitoException: ClassCastException occurred while creating the mockito proxy : class to mock : 'com.squareup.otto.Bus', loaded by classloader : 'org.robolectric.internal.bytecode.InstrumentingClassLoader@1593948d' created class : 'com.squareup.otto.Bus$$EnhancerByMockitoWithCGLIB$$82a3b196', loaded by classloader : 'org.robolectric.internal.bytecode.InstrumentingClassLoader@1593948d' proxy instance class : 'com.squareup.otto.Bus$$EnhancerByMockitoWithCGLIB$$82a3b196', loaded by classloader : 'org.mockito.internal.creation.util.SearchingClassLoader@618ff5c2' instance creation by : ObjenesisInstantiator You might experience classloading issues, disabling the Objenesis cache *might* help (see MockitoConfiguration)
  6. 0

    GitHub comment 1852#150709085

    GitHub | 1 year ago | milimetric
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup

  1. kid 11 times, last 2 weeks ago
  2. iridic 3 times, last 3 weeks ago
  3. kid 53 times, last 2 months ago
  4. Steven 1 times, last 6 months ago
  5. charries96 1 times, last 6 months ago
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    Cannot cast my.Class$$EnhancerLAZY$$c703f20 to my.Class

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:3369)
    1 frame
  3. org.wicketstuff.lazymodel
    LazyModel.from
    1. org.wicketstuff.lazymodel.reflect.Evaluation.proxy(Evaluation.java:139)
    2. org.wicketstuff.lazymodel.LazyModel.from(LazyModel.java:538)
    2 frames