java.lang.UnsupportedOperationException

can't load this type of class file

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 web24

  • via Stack Overflow by haju
    ,
  • Stack trace

    • java.lang.UnsupportedOperationException: can't load this type of class file at javassist.ClassPool.toClass(ClassPool.java:1123) at javassist.ClassPool.toClass(ClassPool.java:1066) at javassist.ClassPool.toClass(ClassPool.java:1024) at javassist.CtClass.toClass(CtClass.java:1141) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.construct2(MainActivity.java:189) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.construct2(MainActivity.java:171) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.construct2(MainActivity.java:171) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.construct2(MainActivity.java:171) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.construct2(MainActivity.java:171) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.generateVxml(MainActivity.java:122) at com.android.princebansal.kvadmin.Entity.Main.Activities.MainActivity.onOptionsItemSelected(MainActivity.java:102) at android.app.Activity.onMenuItemSelected(Activity.java:2955) at android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:408) at android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:198) at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113) at android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:113) at android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69) at android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:206) at android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:776) at android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:822) at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156) at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:969) at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:959) at android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:623) at android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:154) at android.view.View.performClick(View.java:5268) at android.view.View$PerformClick.run(View.java:21550) at android.os.Handler.handleCallback(Handler.java:822) at android.os.Handler.dispatchMessage(Handler.java:104) at android.os.Looper.loop(Looper.java:207) at android.app.ActivityThread.main(ActivityThread.java:5774) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681) Caused by: java.lang.UnsupportedOperationException: can't load this type of class file at java.lang.ClassLoader.defineClass(ClassLoader.java:265) at java.lang.reflect.Method.invoke(Native Method) at javassist.ClassPool.toClass2(ClassPool.java:1136) at javassist.ClassPool.toClass(ClassPool.java:1117) ... 33 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

    Andreas HäberAndreas Häber
    2 times, last one
    Unknown visitor
    Unknown visitor3 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,