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. ,

    Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by Jenni
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.android.reportcard/com.example.android.reportcard.ReportCard}: java.lang.InstantiationException: java.lang.Class<com.example.android.reportcard.ReportCard> has no zero argument constructor
via Stack Overflow by Haider Akbar
, 1 year ago
Unable to instantiate activity ComponentInfo{com.wavedevelopers.eventsplanning/com.wavedevelopers.eventsplanning.BookingForm}: java.lang.InstantiationException: java.lang.Class<com.wavedevelopers.eventsplanning.BookingForm> has no zero argument constructor
via Stack Overflow by priyanka
, 1 year ago
Unable to instantiate activity ComponentInfo{com.ex.nishkarsh.nishkarsh/com.ex.nishkarsh.nishkarsh.MainActivity}: java.lang.InstantiationException: java.lang.Class<com.ex.nishkarsh.nishkarsh.MainActivity> has no zero argument constructor
via Stack Overflow by Malloree Grace
, 6 months ago
Unable to instantiate activity ComponentInfo{com.example.mallo.schedulil/com.example.mallo.schedulil.ScheduleRequest}: java.lang.InstantiationException: java.lang.Class has no zero argument constructor
via Stack Overflow by Catbird17
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.oife/com.example.oife.PostActivity}: java.lang.InstantiationException: java.lang.Class<com.example.oife.PostActivity> has no zero argument constructor
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.android.reportcard/com.example.android.reportcard.ReportCard}: java.lang.InstantiationException: java.lang.Class<com.example.android.reportcard.ReportCard> has no zero argument constructor at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)