Skip to content

Instantly share code, notes, and snippets.

@petrblaho
Created May 9, 2016 11:46
Show Gist options
  • Save petrblaho/dc513ea0ca4a32df38aaa3335c73c9e1 to your computer and use it in GitHub Desktop.
Save petrblaho/dc513ea0ca4a32df38aaa3335c73c9e1 to your computer and use it in GitHub Desktop.
05-09 13:32:40.961 25056 25088 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
05-09 13:32:40.961 25056 25088 E AndroidRuntime: Process: com.horaapps.leafpic, PID: 25056
05-09 13:32:40.961 25056 25088 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:309)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:242)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to get length of null array
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at com.horaapps.leafpic.Base.HandlingAlbums.checkAndAddAlbum(HandlingAlbums.java:150)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at com.horaapps.leafpic.Base.HandlingAlbums.fetchRecursivelyFolder(HandlingAlbums.java:123)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at com.horaapps.leafpic.Base.HandlingAlbums.fetchRecursivelyFolder(HandlingAlbums.java:129)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at com.horaapps.leafpic.Base.HandlingAlbums.loadPreviewAlbums(HandlingAlbums.java:63)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at com.horaapps.leafpic.SplashScreen$PrefetchAlbumsData.doInBackground(SplashScreen.java:152)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at com.horaapps.leafpic.SplashScreen$PrefetchAlbumsData.doInBackground(SplashScreen.java:149)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:295)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-09 13:32:40.961 25056 25088 E AndroidRuntime: ... 4 more
05-09 13:32:40.969 1442 2218 W ActivityManager: Force finishing activity com.horaapps.leafpic/.SplashScreen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment