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 Fahad Saleem
, 1 year ago
Unable to instantiate activity ComponentInfo{com.trinitygetcontact/com.trinitygetcontact.MainActivity}: java.lang.NullPointerException
via Stack Overflow by Mohsen
, 4 months ago
Unable to instantiate activity ComponentInfo{***/com.text.NewActivity}: java.lang.NullPointerException
via Coderanch by Bod MacNeil, 1 year ago
Unable to instantiate activity ComponentInfo{macson.fifteendaysofjava/macson.fifteendaysofjava.Rock_Paper_Scissor}: java.lang.NullPointerException
via Stack Overflow by Caleb
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.addtolistview/com.example.addtolistview.ListViewDemo}: java.lang.NullPointerException
via Stack Overflow by kkarthickk
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.recipestutors/com.example.recipestutors.SouthIndianvegmanualrecipes}: java.lang.NullPointerException
via Stack Overflow by Eulante
, 10 months ago
Unable to instantiate activity ComponentInfo{com.gabriele.tesina/com.gabriele.tesina.AggiungiProdotto}: java.lang.NullPointerException: lock == null
java.lang.NullPointerException: 	at android.content.ContextWrapper.getPackageName(ContextWrapper.java:135)	at android.content.ComponentName.(ComponentName.java:75)	at android.content.Intent.(Intent.java:3546)	at com.trinitygetcontact.MainActivity.(MainActivity.java:39)	at java.lang.Class.newInstanceImpl(Native Method)	at java.lang.Class.newInstance(Class.java:1319)	at android.app.Instrumentation.newActivity(Instrumentation.java:1055)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2103)