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 King Josh
, 11 months ago
Unable to start activity ComponentInfo{com.example.akujobijoshua.StudentBuddy/com.example.akujobijoshua.StudentBuddy.todolis.MainAct}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.design.widget.TabLayout$Tab android.support.design.widget.TabLayout.newTab()' on a null object reference
via Stack Overflow by Aby Golzar
, 6 months ago
Unable to start activity ComponentInfo{com.example.eyepatch.shutter/com.example.eyepatch.shutter.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.design.widget.TabLayout$Tab android.support.design.widget.TabLayout$Tab.setIcon(android.graphics.drawable.Drawable)' on a null object reference
via GitHub by kuanlaosiji
, 1 month ago
Unable to start activity ComponentInfo{io.github.javiewer/io.github.javiewer.activity.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'io.github.javiewer.adapter.item.DataSource io.github.javiewer.Configurations.getDataSource()' on a null object reference
via GitHub by xwartz
, 1 year ago
Unable to start activity ComponentInfo{org.consenlabs.token/org.consenlabs.token.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference
via GitHub by RyanElliott94
, 11 months ago
Unable to start activity ComponentInfo{com.skintmedia.voice/com.braunster.chatsdk.activities.ChatSDKLoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.braunster.chatsdk.network.AbstractNetworkAdapter.facebookEnabled()' on a null object reference
via xiaomi.eu by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.support.design.widget.TabLayout$Tab android.support.design.widget.TabLayout.newTab()' on a null object reference	at com.example.akujobijoshua.StudentBuddy.todolis.MainAct.setUI(MainAct.java:132)	at com.example.akujobijoshua.StudentBuddy.todolis.MainAct.onCreate(MainAct.java:76)	at android.app.Activity.performCreate(Activity.java:6279)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2393)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2500)	at android.app.ActivityThread.access$900(ActivityThread.java:163)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1362)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5585)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)