java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher

GitHub | mingfenghappy | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 57#252456587

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

    ScaleType crash while supportFinishAfterTransition()

    Stack Overflow | 2 years ago | datienza
    java.lang.IllegalStateException: The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher
  3. 0

    GitHub comment 229#269589595

    GitHub | 5 months ago | hendrawd
    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

    java.lang.IllegalStateException: ImageView no longer exists. You should not use this PhotoViewAttacher any more.

    GitHub | 3 years ago | koral--
    java.lang.IllegalStateException: ImageView no longer exists. You should not use this PhotoViewAttacher any more.
  6. 0

    bug report

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

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The ImageView's ScaleType has been changed since attaching a PhotoViewAttacher

      at uk.co.senab.photoview.PhotoViewAttacher.checkImageViewScaleType()
    2. uk.co.senab
      PhotoViewAttacher.onGlobalLayout
      1. uk.co.senab.photoview.PhotoViewAttacher.checkImageViewScaleType(PhotoViewAttacher.java:684)
      2. uk.co.senab.photoview.PhotoViewAttacher.setImageViewMatrix(PhotoViewAttacher.java:815)
      3. uk.co.senab.photoview.PhotoViewAttacher.resetMatrix(PhotoViewAttacher.java:807)
      4. uk.co.senab.photoview.PhotoViewAttacher.updateBaseMatrix(PhotoViewAttacher.java:892)
      5. uk.co.senab.photoview.PhotoViewAttacher.onGlobalLayout(PhotoViewAttacher.java:423)
      5 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:982)
      2. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2410)
      3. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
      4. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7397)
      5. android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
      6. android.view.Choreographer.doCallbacks(Choreographer.java:695)
      7. android.view.Choreographer.doFrame(Choreographer.java:631)
      8. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
      9. android.os.Handler.handleCallback(Handler.java:739)
      10. android.os.Handler.dispatchMessage(Handler.java:95)
      11. android.os.Looper.loop(Looper.java:158)
      12. android.app.ActivityThread.main(ActivityThread.java:7237)
      12 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames
    6. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)
      1 frame