{"action":"created","issue":{"url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/issues/12","labels_url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/issues/12/comments","events_url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/issues/12/events","html_url":"https://github.com/spacecowboy/NoNonsense-FilePicker/issues/12","id":62623523,"number":12,"title":"Crash on root folders","user":{"login":"NitroG42","id":1549495,"avatar_url":"https://avatars.githubusercontent.com/u/1549495?v=3","gravatar_id":"","url":"https://api.github.com/users/NitroG42","html_url":"https://github.com/NitroG42","followers_url":"https://api.github.com/users/NitroG42/followers","following_url":"https://api.github.com/users/NitroG42/following{/other_user}","gists_url":"https://api.github.com/users/NitroG42/gists{/gist_id}","starred_url":"https://api.github.com/users/NitroG42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NitroG42/subscriptions","organizations_url":"https://api.github.com/users/NitroG42/orgs","repos_url":"https://api.github.com/users/NitroG42/repos","events_url":"https://api.github.com/users/NitroG42/events{/privacy}","received_events_url":"https://api.github.com/users/NitroG42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-18T08:30:15Z","updated_at":"2015-04-22T22:06:46Z","closed_at":null,"body":"Using your library on my project (FDND), I found a little bug, it crashes when we go back to the / of the device, and then click on a folder which we can't access (I tried  on a device without root).\r\nI'll probably make a pull request if you don't have the time.\r\n\r\nHere's the stack trace : \r\n\r\n       java.lang.RuntimeException: An error occured while executing doInBackground()\r\n                  at android.os.AsyncTask$3.done(AsyncTask.java:300)\r\n                  at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)\r\n                  at java.util.concurrent.FutureTask.setException(FutureTask.java:222)\r\n                  at java.util.concurrent.FutureTask.run(FutureTask.java:242)\r\n                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n                  at java.lang.Thread.run(Thread.java:818)\r\n           Caused by: java.lang.NullPointerException: Attempt to get length of null array\r\n                  at com.nononsenseapps.filepicker.FilePickerFragment$2.loadInBackground(FilePickerFragment.java:142)\r\n                  at com.nononsenseapps.filepicker.FilePickerFragment$2.loadInBackground(FilePickerFragment.java:135)\r\n                  at android.content.AsyncTaskLoader.onLoadInBackground(AsyncTaskLoader.java:312)\r\n                  at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:69)\r\n                  at android.content.AsyncTaskLoader$LoadTask.doInBackground(AsyncTaskLoader.java:57)\r\n                  at android.os.AsyncTask$2.call(AsyncTask.java:288)\r\n                  at java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n                  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n                  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n                  at java.lang.Thread.run(Thread.java:818)"},"comment":{"url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/issues/comments/95352794","html_url":"https://github.com/spacecowboy/NoNonsense-FilePicker/issues/12#issuecomment-95352794","issue_url":"https://api.github.com/repos/spacecowboy/NoNonsense-FilePicker/issues/12","id":95352794,"user":{"login":"spacecowboy","id":223655,"avatar_url":"https://avatars.githubusercontent.com/u/223655?v=3","gravatar_id":"","url":"https://api.github.com/users/spacecowboy","html_url":"https://github.com/spacecowboy","followers_url":"https://api.github.com/users/spacecowboy/followers","following_url":"https://api.github.com/users/spacecowboy/following{/other_user}","gists_url":"https://api.github.com/users/spacecowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/spacecowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacecowboy/subscriptions","organizations_url":"https://api.github.com/users/spacecowboy/orgs","repos_url":"https://api.github.com/users/spacecowboy/repos","events_url":"https://api.github.com/users/spacecowboy/events{/privacy}","received_events_url":"https://api.github.com/users/spacecowboy/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T22:06:46Z","updated_at":"2015-04-22T22:06:46Z","body":"Nevermind.. Will be fixed soon."}}