{"action":"opened","issue":{"url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/908","labels_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/908/comments","events_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/908/events","html_url":"https://github.com/nostra13/Android-Universal-Image-Loader/issues/908","id":57021823,"number":908,"title":"Image display in notification causes application crash and device reboot.","user":{"login":"u2gilles","id":9822104,"avatar_url":"https://avatars.githubusercontent.com/u/9822104?v=3","gravatar_id":"","url":"https://api.github.com/users/u2gilles","html_url":"https://github.com/u2gilles","followers_url":"https://api.github.com/users/u2gilles/followers","following_url":"https://api.github.com/users/u2gilles/following{/other_user}","gists_url":"https://api.github.com/users/u2gilles/gists{/gist_id}","starred_url":"https://api.github.com/users/u2gilles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u2gilles/subscriptions","organizations_url":"https://api.github.com/users/u2gilles/orgs","repos_url":"https://api.github.com/users/u2gilles/repos","events_url":"https://api.github.com/users/u2gilles/events{/privacy}","received_events_url":"https://api.github.com/users/u2gilles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-09T12:00:30Z","updated_at":"2015-02-09T12:00:30Z","closed_at":null,"body":"I am trying to use UIL to display an image an ongoing notification of a player app.\r\nBut when i use the method below, the application \r\n - slow down (freeze for a few seconds) though it display the image correctly\r\n - then crash (please see the log below)\r\n - and then make my device (samsung S4) reboot.\r\nDo you have any clue what I did wrong. Thanks in advance.\r\n\r\n\r\nvoid setNotifImage(String imageUrl) {\r\n   act.mil.imageLoader().loadImage(imageUrl,new SimpleImageLoadingListener() {\r\n     @Override\r\n     public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {\r\n        remoteViewsNotifBig.setImageViewBitmap(R.id.notifImagePodcastIV, loadedImage);\r\n        remoteViewsNotif.setImageViewBitmap(R.id.notifImagePodcastIV, loadedImage);\r\n       }\r\n     });\r\n     notificationManager.notify(notificationId, notification);\r\n    }\r\n\r\n\r\n\r\n02-09 18:42:58.780  FATAL EXCEPTION: main\r\n    Process: com.lydia.podcastcutter, PID: 20008\r\n    java.lang.RuntimeException: bad array lengths\r\n            at android.os.Parcel.readIntArray(Parcel.java:820)\r\n            at android.app.INotificationManager$Stub$Proxy.enqueueNotificationWithTag(INotificationManager.java:348)\r\n            at android.app.NotificationManager.notify(NotificationManager.java:152)\r\n            at android.app.NotificationManager.notify(NotificationManager.java:116)\r\n            at com.lydia.podcast1.NotificationBoard.setNotifPlayPauseBUT(NotificationBoard.java:124)\r\n            at com.lydia.podcast1.FragmentBoard.updatePlayPauseBUT(FragmentBoard.java:221)\r\n            at com.lydia.podcast1.MMediaPlayer.startPauseMP(MMediaPlayer.java:131)\r\n            at com.lydia.podcast1.MMediaPlayer.playFile(MMediaPlayer.java:46)\r\n            at com.lydia.podcast1.DataPlaylistObject.next(DataPlaylistObject.java:220)\r\n            at com.lydia.podcast1.FragmentBoard$10.onClick(FragmentBoard.java:186)\r\n            at android.view.View.performClick(View.java:4633)\r\n            at android.view.View$PerformClick.run(View.java:19330)\r\n            at android.os.Handler.handleCallback(Handler.java:733)\r\n            at android.os.Handler.dispatchMessage(Handler.java:95)\r\n            at android.os.Looper.loop(Looper.java:157)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5356)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n"}}