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

Samebug tips

  1. ,
    Expert tip

    This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Solutions on the web

via Stack Overflow by kenoly
, 1 year ago
Unable to instantiate activity ComponentInfo{com.kenolyatuma.futolocate/com.kenolyatuma.futolocate.MapsActivity }: java.lang.InstantiationException: can't instantiate class com.kenolyatuma.futolocate.MapsActivity; no empty constructor
via Stack Overflow by tomatediabolik
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.applicationname/com.example.applicationname.FirstActi}: java.lang.InstantiationException: can't instantiate class com.example.arduinodivecompanion.SecondActi; no empty constructor
via Stack Overflow by tomatediabolik
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.arduinodivecompanion/com.example.arduinodivecompanion.DiveDetailActi}: java.lang.InstantiationException: can't instantiate class com.example.arduinodivecompanion.DiveDetailActi; no empty constructor
via Stack Overflow by Unknown author, 2 years ago
Unable to instantiate activity ComponentInfo{example.myapplication/example.myapplication.MainActivity}: java.lang.InstantiationException: can't instantiate class example.myapplication.MainActivity; no empty constructor
via codeplats.com by Unknown author, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.arduinodivecompanion/com.example.arduinodivecompanion.DiveDetailActi}: java.lang.InstantiationException: can't instantiate class com.example.arduinodivecompanion.DiveDetailActi; no empty constructor
via Stack Overflow by user3827788
, 2 years ago
Unable to instantiate activity ComponentInfo{com.dooba.beta/com.dooba.beta.EventSingleItemActivity}: java.lang.InstantiationException: can't instantiate class com.dooba.beta.EventSingleItemActivity; no empty constructor
java.lang.InstantiationException: can't instantiate class        com.kenolyatuma.futolocate.MapsActivity; no empty constructor	at java.lang.Class.newInstanceImpl(Native Method)	at java.lang.Class.newInstance(Class.java:1208)	at android.app.Instrumentation.newActivity(Instrumentation.java:1073)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2215)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)	at android.app.ActivityThread.access$800(ActivityThread.java:151)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:136)	at android.app.ActivityThread.main(ActivityThread.java:5421)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:979)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:795)	at dalvik.system.NativeStart.main(Native Method)