java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher. You should call setScaleType on the PhotoViewAttacher instead of on the ImageView

GitHub | kangsLee | 4 months ago
  1. 0

    GitHub comment 402#238733845

    GitHub | 4 months ago | kangsLee
    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher. You should call setScaleType on the PhotoViewAttacher instead of on the ImageView
  2. 0

    GitHub comment 57#252456587

    GitHub | 2 months ago | mingfenghappy
    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
  3. 0

    Crash: Photoattacher Zooming Out to Finish ImageActivity

    GitHub | 2 years ago | eugenkiss
    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 57#252456587

    GitHub | 2 months ago | mingfenghappy
    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
  6. 0

    bug report

    GitHub | 8 months ago | MOMANI1
    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher. You should call setScaleType on the PhotoViewAttacher instead of on the ImageView

      at uk.co.senab.photoview.PhotoViewAttacher.checkImageViewScaleType()
    2. uk.co.senab
      PhotoViewAttacher.onTouch
      1. uk.co.senab.photoview.PhotoViewAttacher.checkImageViewScaleType(PhotoViewAttacher.java:736)
      2. uk.co.senab.photoview.PhotoViewAttacher.setImageViewMatrix(PhotoViewAttacher.java:868)
      3. uk.co.senab.photoview.PhotoViewAttacher.checkAndDisplayMatrix(PhotoViewAttacher.java:723)
      4. uk.co.senab.photoview.PhotoViewAttacher.onDrag(PhotoViewAttacher.java:385)
      5. uk.co.senab.photoview.gestures.CupcakeGestureDetector.onTouchEvent(CupcakeGestureDetector.java:96)
      6. uk.co.senab.photoview.gestures.EclairGestureDetector.onTouchEvent(EclairGestureDetector.java:85)
      7. uk.co.senab.photoview.gestures.FroyoGestureDetector.onTouchEvent(FroyoGestureDetector.java:66)
      8. uk.co.senab.photoview.PhotoViewAttacher.onTouch(PhotoViewAttacher.java:523)
      8 frames
    3. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:9291)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)
      13 frames
    4. Android
      PhoneWindow$AjcClosure1.run
      1. com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2445)
      2. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent_aroundBody0(PhoneWindow.java:1756)
      3. com.android.internal.policy.PhoneWindow$AjcClosure1.run(PhoneWindow.java:1)
      3 frames
    5. Android Platform
      PhoneWindowAO.ajc$around$android_view_PhoneWindowAO$2$99ce526b
      1. android.view.PhoneWindowAO.ajc$around$android_view_PhoneWindowAO$2$99ce526bproceed(PhoneWindowAO.aj:113)
      2. android.view.PhoneWindowAO.ajc$around$android_view_PhoneWindowAO$2$99ce526b(PhoneWindowAO.aj:117)
      2 frames
    6. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1756)
      1 frame
    7. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2800)
      1 frame
    8. Android v7
      WindowCallbackWrapper.dispatchTouchEvent
      1. android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63)
      1 frame
    9. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2406)
      1 frame
    10. Android Platform
      ViewRootImpl$InputStage.forward
      1. android.view.View.dispatchPointerEvent(View.java:9517)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4309)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4175)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3682)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3735)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3701)
      7. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3709)
      8. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3682)
      9. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3735)
      10. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3701)
      11. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3828)
      12. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3709)
      13. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3885)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3682)
      15. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3735)
      16. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3701)
      16 frames