java.lang.UnsupportedOperationException: can't load this type of class file

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by princebansal
, 9 months ago
can't load this type of class file
java.lang.UnsupportedOperationException: can't load this type of class file
at java.lang.ClassLoader.defineClass(ClassLoader.java:265)
at javassist.ClassPool.toClass2(ClassPool.java:1136)
at javassist.ClassPool.toClass(ClassPool.java:1117)
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.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.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.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 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Know the solutions? Share your knowledge to help other developers to debug faster.