{"action":"created","issue":{"url":"https://api.github.com/repos/nicolas-raoul/apps-android-commons/issues/45","labels_url":"https://api.github.com/repos/nicolas-raoul/apps-android-commons/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/nicolas-raoul/apps-android-commons/issues/45/comments","events_url":"https://api.github.com/repos/nicolas-raoul/apps-android-commons/issues/45/events","html_url":"https://github.com/nicolas-raoul/apps-android-commons/issues/45","id":126721145,"number":45,"title":"Crash on startup when launching in CM 13 (Marshmallow)","user":{"login":"dbrant","id":1682214,"avatar_url":"https://avatars.githubusercontent.com/u/1682214?v=3","gravatar_id":"","url":"https://api.github.com/users/dbrant","html_url":"https://github.com/dbrant","followers_url":"https://api.github.com/users/dbrant/followers","following_url":"https://api.github.com/users/dbrant/following{/other_user}","gists_url":"https://api.github.com/users/dbrant/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrant/subscriptions","organizations_url":"https://api.github.com/users/dbrant/orgs","repos_url":"https://api.github.com/users/dbrant/repos","events_url":"https://api.github.com/users/dbrant/events{/privacy}","received_events_url":"https://api.github.com/users/dbrant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T18:49:19Z","updated_at":"2016-01-15T12:35:41Z","closed_at":null,"body":"Stack trace:\r\n\r\njava.lang.RuntimeException: Unable to create application fr.free.nrw.commons.CommonsApplication: java.lang.NullPointerException: Attempt to get length of null array\r\n at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4759)\r\n at android.app.ActivityThread.-wrap1(ActivityThread.java)\r\n at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)\r\n at android.os.Handler.dispatchMessage(Handler.java:102)\r\n at android.os.Looper.loop(Looper.java:148)\r\n at android.app.ActivityThread.main(ActivityThread.java:5466)\r\n at java.lang.reflect.Method.invoke(Native Method)\r\n at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)\r\n at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)\r\nCaused by: java.lang.NullPointerException: Attempt to get length of null array\r\n at com.nostra13.universalimageloader.cache.disc.LimitedDiscCache.calculateCacheSizeAndFillUsageMap(LimitedDiscCache.java:73)\r\n at com.nostra13.universalimageloader.cache.disc.LimitedDiscCache.<init>(LimitedDiscCache.java:67)\r\n at com.nostra13.universalimageloader.cache.disc.impl.TotalSizeLimitedDiscCache.<init>(TotalSizeLimitedDiscCache.java:56)\r\n at com.nostra13.universalimageloader.cache.disc.impl.TotalSizeLimitedDiscCache.<init>(TotalSizeLimitedDiscCache.java:45)\r\n at fr.free.nrw.commons.CommonsApplication.onCreate(CommonsApplication.java:109)\r\n at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)\r\n at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4756)\r\n at android.app.ActivityThread.-wrap1(ActivityThread.java) \r\n at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424) \r\n at android.os.Handler.dispatchMessage(Handler.java:102) \r\n at android.os.Looper.loop(Looper.java:148) \r\n at android.app.ActivityThread.main(ActivityThread.java:5466) \r\n at java.lang.reflect.Method.invoke(Native Method) \r\n at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) \r\n at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) \r\n "},"comment":{"url":"https://api.github.com/repos/nicolas-raoul/apps-android-commons/issues/comments/171949776","html_url":"https://github.com/nicolas-raoul/apps-android-commons/issues/45#issuecomment-171949776","issue_url":"https://api.github.com/repos/nicolas-raoul/apps-android-commons/issues/45","id":171949776,"user":{"login":"misaochan","id":3611199,"avatar_url":"https://avatars.githubusercontent.com/u/3611199?v=3","gravatar_id":"","url":"https://api.github.com/users/misaochan","html_url":"https://github.com/misaochan","followers_url":"https://api.github.com/users/misaochan/followers","following_url":"https://api.github.com/users/misaochan/following{/other_user}","gists_url":"https://api.github.com/users/misaochan/gists{/gist_id}","starred_url":"https://api.github.com/users/misaochan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misaochan/subscriptions","organizations_url":"https://api.github.com/users/misaochan/orgs","repos_url":"https://api.github.com/users/misaochan/repos","events_url":"https://api.github.com/users/misaochan/events{/privacy}","received_events_url":"https://api.github.com/users/misaochan/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T12:35:41Z","updated_at":"2016-01-15T12:35:41Z","body":"Hi @dbrant ,\r\n\r\nThanks for reporting this. Is the problem reproducible? Does it happen all the time when you launch the app, or only occasionally?\r\n\r\n"}}