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
, 1 year 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 java.lang.reflect.Method.invoke(Native Method)	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.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)