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

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 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
, 7 months 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 Catbird17
, 1 year 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
via Stack Overflow by happy.days
, 8 months ago
Unable to instantiate activity ComponentInfo{com.example.a1621656.noughtandcrosses/com.example.a1621656.noughtandcrosses.MainActivity}: java.lang.InstantiationException: java.lang.Class<com.example.a1621656.noughtandcrosses.MainActivity> has no zero argument constructor
via Stack Overflow by Sariyanti
, 9 months ago
Unable to instantiate activity java.lang.InstantiationException: java.lang.Class 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)

Users with the same issue

7 times, 1 year ago
94 times, 5 months ago
280 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
15 times, 1 year ago
109 more bugmates

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