java.lang.RuntimeException

Unable to start activity ComponentInfo{com.brzozowski.marcin.inzynierka/com.brzozowski.marcin.inzynierka.activities.ChooseGroupActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.Filter android.widget.SimpleAdapter.getFilter()' on a null object reference


Solutions on the web46473

Solution icon of stackoverflow
via Stack Overflow by csal
, 6 months ago
Unable to start activity ComponentInfo{com.brzozowski.marcin.inzynierka/com.brzozowski.marcin.inzynierka.activities.ChooseGroupActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.Filter android.widget.SimpleAdapter.getFilter()' on a null object reference

Solution icon of github
Unable to start activity ComponentInfo{org.envaya.sms/org.envaya.sms.ui.Main}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference

Solution icon of github
via GitHub by barbeau
, 1 year ago
Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int org.onebusaway.android.ui.AlertList.getCount()' on a null object reference

Solution icon of github
via GitHub by barbeau
, 1 year ago
Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int org.onebusaway.android.ui.AlertList.getCount()' on a null object reference

Solution icon of github
via GitHub by sudoeste
, 1 year ago
Unable to start activity ComponentInfo{pkmx.lcamera/pkmx.lcamera.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'float java.lang.Float.floatValue()' on a null object reference

Solution icon of github
via GitHub by Cr-cm
, 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

Solution icon of github
via GitHub by Aman91Goyal
, 1 year ago
Unable to start activity ComponentInfo{ocr.groove.competent.ocr/groove.competent.detail.DetailData}: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference

Solution icon of github
via GitHub by rivaldi8
, 1 year ago
Unable to start activity ComponentInfo{org.gnucash.android.devel/org.gnucash.android.ui.common.FormActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.sql.Timestamp.getTime()' on a null object reference

Solution icon of github
via GitHub by hongzhou85
, 1 year ago
Unable to start activity ComponentInfo{co.yproject.bys/co.yproject.bys.beautyme.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.animation.ValueAnimator.start()' on a null object reference

Solution icon of github
via GitHub by sagartrehan
, 11 months ago
Unable to start activity ComponentInfo{com.smallcircles/rx_activity_result.HolderActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'rx_activity_result.OnResult rx_activity_result.Request.onResult()' on a null object reference

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.brzozowski.marcin.inzynierka/com.brzozowski.marcin.inzynierka.activities.ChooseGroupActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.Filter android.widget.SimpleAdapter.getFilter()' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3947) at android.app.ActivityThread.access$900(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.Filter android.widget.SimpleAdapter.getFilter()' on a null object reference at com.brzozowski.marcin.inzynierka.activities.ChooseGroupActivity$2.onTextChanged(ChooseGroupActivity.java:103) at android.widget.TextView.sendOnTextChanged(TextView.java:7679) at android.widget.TextView.setText(TextView.java:4060) at android.widget.TextView.setText(TextView.java:3915) at android.widget.EditText.setText(EditText.java:85) at android.widget.TextView.setText(TextView.java:3890) at android.widget.TextView.onRestoreInstanceState(TextView.java:3790) at android.view.View.dispatchRestoreInstanceState(View.java:13740) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2893) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2893) at android.view.View.restoreHierarchyState(View.java:13718) at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2009) at android.app.Activity.onRestoreInstanceState(Activity.java:1023) at android.app.ListActivity.onRestoreInstanceState(ListActivity.java:219) at android.app.Activity.performRestoreInstanceState(Activity.java:978) at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1162) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) ... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.