Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException: Attempt to invoke virtual method 'boolean android.widget.EditText.isEnabled()' on a null object reference #329

Open
codeguru42 opened this issue Feb 3, 2016 · 2 comments

Comments

@codeguru42
Copy link
Member

Google Play Crash Report

Device: Galaxy S6 (zerofltespr)

Android Version: 5.1

App Version: 15 (Lite)

User Message:

Crashed click link

Stack Trace:

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.widget.EditText.isEnabled()' on a null object reference
    at bbct.android.common.activity.FilterCards.onSaveInstanceState(FilterCards.java:83)
    at android.support.v4.app.Fragment.performSaveInstanceState(Fragment.java:1647)
    at android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1621)
    at android.support.v4.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1689)
    at android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:546)
    at android.app.Activity.performSaveInstanceState(Activity.java:1431)
    at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1302)
    at android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:5122)
    at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4458)
    at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4521)
    at android.app.ActivityThread.access$1300(ActivityThread.java:198)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1705)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:6837)
    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:1404)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
@codeguru42
Copy link
Member Author

Google Play Crash Report

Device: Galaxy S3 (d2lterefreshspr)

Android Version: 4.4

App Version: 15 (Lite)

User Message:
none

Stack Trace:

java.lang.NullPointerException
    at bbct.android.common.activity.FilterCards.onSaveInstanceState(FilterCards.java:83)
    at android.support.v4.app.Fragment.performSaveInstanceState(Fragment.java:1647)
    at android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1621)
    at android.support.v4.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1689)
    at android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:546)
    at android.app.Activity.performSaveInstanceState(Activity.java:1229)
    at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1229)
    at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3390)
    at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3449)
    at android.app.ActivityThread.access$1200(ActivityThread.java:169)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1302)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5487)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    at dalvik.system.NativeStart.main(Native Method)

@codeguru42
Copy link
Member Author

codeguru42 commented Feb 15, 2016

As I have been working on the tests, I accidentally recreated this problem. This version of BaseballCardListWithDataTest.testStateDestroyWithFilter() does the trick.

codeguru42 added a commit to codeguru42/bbct that referenced this issue Feb 15, 2016
@codeguru42 codeguru42 added this to the 0.6.4 milestone Feb 15, 2016
@codeguru42 codeguru42 self-assigned this Feb 15, 2016
@codeguru42 codeguru42 modified the milestones: 0.6.4, 0.6.5 Aug 4, 2016
@codeguru42 codeguru42 modified the milestones: 0.6.5, 0.6.6 Sep 6, 2016
@codeguru42 codeguru42 removed their assignment Sep 26, 2016
@codeguru42 codeguru42 modified the milestone: 0.6.6 Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant