java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SimpleAdapter crashes every second launch time
    via Stack Overflow by csal
    ,
    • 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
    No Bugmate found.