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 Praveen Kumar
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.aravindpraveen.buttonsandboxes/com.example.aravindpraveen.buttonsandboxes.MainActivity}: java.lang.NullPointerException
via Stack Overflow by Mohsen
, 2 months ago
Unable to instantiate activity ComponentInfo{***/com.text.NewActivity}: java.lang.NullPointerException
via Stack Overflow by Chris James Hancocks
, 2 years ago
Unable to instantiate activity ComponentInfo{com.smarte.smartipcontrol/com.smarte.smartipcontrol.IPControl}: java.lang.NullPointerException
via Stack Overflow by user2236096
, 2 years ago
Unable to instantiate activity ComponentInfo{com.hychentsa.compoundinterest_v001/com.hychentsa.compoundinterest_v001.MainActivity}: java.lang.NullPointerException
via Stack Overflow by Rahi M.
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.alarmmanager/com.example.eventmanager.AlertActivity}: java.lang.NullPointerException
via Stack Overflow by BananaCode
, 2 years ago
Unable to instantiate activity ComponentInfo{ch.ethz.inf.vs.android.spurra.sensors/ch.ethz.inf.vs.android.spurra.sensors.SensorActivity}: java.lang.NullPointerException
java.lang.NullPointerException: 	at android.content.ContextWrapper.getPackageName(ContextWrapper.java:135)	at android.content.ComponentName.(ComponentName.java:75)	at android.content.Intent.(Intent.java:3662)	at com.example.aravindpraveen.buttonsandboxes.MainActivity.(MainActivity.java:15)	at java.lang.Class.newInstanceImpl(Native Method)	at java.lang.Class.newInstance(Class.java:1130)	at android.app.Instrumentation.newActivity(Instrumentation.java:1061)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)	at android.app.ActivityThread.access$600(ActivityThread.java:141)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)	at android.os.Handler.dispatchMessage(Handler.java:99)	at android.os.Looper.loop(Looper.java:137)	at android.app.ActivityThread.main(ActivityThread.java:5103)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:525)