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

crashes on media-scanner with a NPE #33

Closed
emdete opened this issue Feb 29, 2016 · 2 comments
Closed

crashes on media-scanner with a NPE #33

emdete opened this issue Feb 29, 2016 · 2 comments

Comments

@emdete
Copy link

emdete commented Feb 29, 2016

this error is reproduceable and happens every time i start the scanner:

02-29 20:39:50.607 E/k3bFoto (28323): Caused by: java.lang.NullPointerException: Attempt to get length of null array
02-29 20:39:50.607 E/k3bFoto (28323): at de.k3b.android.util.RecursiveMediaScanner.scanDirOrFile(RecursiveMediaScanner.java:80)
02-29 20:39:50.607 E/k3bFoto (28323): at de.k3b.android.util.RecursiveMediaScanner.scanDirOrFile(RecursiveMediaScanner.java:93)
02-29 20:39:50.607 E/k3bFoto (28323): at de.k3b.android.util.RecursiveMediaScanner.scanDirOrFile(RecursiveMediaScanner.java:93)
02-29 20:39:50.607 E/k3bFoto (28323): at de.k3b.android.util.RecursiveMediaScanner.doInBackground(RecursiveMediaScanner.java:59)
02-29 20:39:50.607 E/k3bFoto (28323): at de.k3b.android.util.RecursiveMediaScanner.doInBackground(RecursiveMediaScanner.java:28)
02-29 20:39:50.607 E/k3bFoto (28323): at android.os.AsyncTask$2.call(AsyncTask.java:292)
02-29 20:39:50.607 E/k3bFoto (28323): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-29 20:39:50.607 E/k3bFoto (28323): ... 4 more

@k3b
Copy link
Owner

k3b commented Mar 1, 2016

Thanks for info. Which android version are you using? (I still have no feedback if the app works on android 6 #18 )

I will fix this on thursday afternoon

There may also be an issue with duplicate entries on android5.1 after scanning

@k3b k3b added the bug label Mar 1, 2016
k3b added a commit that referenced this issue Mar 4, 2016
…ies because auf dir-symlinks. Only non-smylink-images are strored in DB
@k3b
Copy link
Owner

k3b commented Mar 7, 2016

this issue should be fixed with the new fdroid release 0.4.6

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

No branches or pull requests

2 participants