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

Crash when using back button up navigation #476

Closed
d4rken opened this Issue Sep 3, 2016 · 1 comment

Comments

1 participant
@d4rken
Owner

d4rken commented Sep 3, 2016

Doesn't seem to be device specific.

java.lang.NullPointerException: Attempt to read from field 'eu.thedarken.sdm.biggest.Item eu.thedarken.sdm.biggest.Item.d' on a null object reference
        at eu.thedarken.sdm.biggest.BiggestFragment.a(BiggestFragment.java:30084)
        at eu.thedarken.sdm.SDMMainActivity.onKeyUp(SDMMainActivity.java:299)
        at eu.thedarken.sdm.SDMMainActivity$3.onKey(SDMMainActivity.java:208)
        at android.view.View.dispatchKeyEvent(View.java:8414)

Normal storage setup

DATA

/data | -1 | [PRIMARY] | null

OEM

/oem | -1 | [] | null

PUBLIC_DATA1

/storage/emulated/0/Android/data | 0 | [EMULATED, PRIMARY] | null

PUBLIC_DATA2

/storage/sdcard1/Android/data | -1 | [SECONDARY] | null

PUBLIC_MEDIA1

/storage/sdcard1/Android/media | -1 | [SECONDARY] | null

PUBLIC_MEDIA2

/storage/emulated/0/Android/media | 0 | [EMULATED, PRIMARY] | null

PUBLIC_OBB1

/storage/sdcard1/Android/obb | -1 | [SECONDARY] | null

PUBLIC_OBB2

/storage/emulated/0/Android/obb | 0 | [EMULATED, PRIMARY] | null

SDCARD1

/storage/sdcard1 | -1 | [SECONDARY] | content://com.android.externalstorage.documents/tree/1634-3809%3A

SDCARD2

/storage/emulated/0 | 0 | [EMULATED, PRIMARY] | null

SYSTEM

/system | -1 | [] | null

SYSTEM_APP

/system/app | -1 | [] | null

SYSTEM_PRIV_APP

/system/priv-app | -1 | [] | null

VENDOR

/vendor | -1 | [] | null

@d4rken d4rken added this to the v4.3.1 milestone Sep 3, 2016

@d4rken

This comment has been minimized.

Owner

d4rken commented Sep 4, 2016

"Current item" was not initiazied, checking that when pressing the backbutton (to see if we are at the root item)... npe.

@d4rken d4rken closed this Sep 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment