{"action":"closed","issue":{"url":"https://api.github.com/repos/eugenkiss/chanobol/issues/120","labels_url":"https://api.github.com/repos/eugenkiss/chanobol/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/eugenkiss/chanobol/issues/120/comments","events_url":"https://api.github.com/repos/eugenkiss/chanobol/issues/120/events","html_url":"https://github.com/eugenkiss/chanobol/issues/120","id":59349767,"number":120,"title":"Crash: Photoattacher Zooming Out to Finish ImageActivity","user":{"login":"eugenkiss","id":211365,"avatar_url":"https://avatars.githubusercontent.com/u/211365?v=3","gravatar_id":"","url":"https://api.github.com/users/eugenkiss","html_url":"https://github.com/eugenkiss","followers_url":"https://api.github.com/users/eugenkiss/followers","following_url":"https://api.github.com/users/eugenkiss/following{/other_user}","gists_url":"https://api.github.com/users/eugenkiss/gists{/gist_id}","starred_url":"https://api.github.com/users/eugenkiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eugenkiss/subscriptions","organizations_url":"https://api.github.com/users/eugenkiss/orgs","repos_url":"https://api.github.com/users/eugenkiss/repos","events_url":"https://api.github.com/users/eugenkiss/events{/privacy}","received_events_url":"https://api.github.com/users/eugenkiss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eugenkiss/chanobol/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-28T17:30:07Z","updated_at":"2015-04-04T13:47:22Z","closed_at":"2015-04-04T13:47:22Z","body":"It happens seldomly but sometimes the app crashes when zooming `ImageActivity` out. The activity is closed with the following exception: http://crashes.to/s/37a8f11ff89\r\n\r\n    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher\r\n       at uk.co.senab.photoview.PhotoViewAttacher.checkImageViewScaleType(PhotoViewAttacher.java:707)\r\n       at uk.co.senab.photoview.PhotoViewAttacher.setImageViewMatrix(PhotoViewAttacher.java:821)\r\n       at uk.co.senab.photoview.PhotoViewAttacher.checkAndDisplayMatrix(PhotoViewAttacher.java:694)\r\n       at uk.co.senab.photoview.PhotoViewAttacher.access$200(PhotoViewAttacher.java:47)\r\n       at uk.co.senab.photoview.PhotoViewAttacher$AnimatedZoomRunnable.run(PhotoViewAttacher.java:999)\r\n       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)\r\n       at android.view.Choreographer.doCallbacks(Choreographer.java:580)\r\n       at android.view.Choreographer.doFrame(Choreographer.java:549)\r\n       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)\r\n       at android.os.Handler.handleCallback(Handler.java:739)\r\n       at android.os.Handler.dispatchMessage(Handler.java:95)\r\n       at android.os.Looper.loop(Looper.java:135)\r\n       at android.app.ActivityThread.main(ActivityThread.java:5221)\r\n       at java.lang.reflect.Method.invoke(Method.java)\r\n       at java.lang.reflect.Method.invoke(Method.java:372)\r\n       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\n       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\n\r\nI guess I just need to catch it in the right place and do nothing. Sadly, it's hard to reproduce."}}