Unexpected exception during cast.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web473

  • via Stack Overflow by xybrek
  • Stack trace

    • java.lang.RuntimeException: Unexpected exception during cast. at$CasterImpl.cast( at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at sun.instrument.InstrumentationImpl.loadClassAndStartAgent( at sun.instrument.InstrumentationImpl.loadClassAndCallPremain( Caused by: java.lang.IllegalAccessException: Class learcast.ClearCast$CasterImpl can not access a member of class$Proxy0 with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess( at java.lang.reflect.AccessibleObject.slowCheckMemberAccess( at java.lang.reflect.AccessibleObject.checkAccess( at java.lang.reflect.Constructor.newInstance( at$CasterImpl.cast( ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    16 times, last one
    Hiren AmaliyarHiren Amaliyar
    67 times, last one
    16 times, last one
    2 times, last one
    4 times, last one
    48 more bugmates