java.lang.NullPointerException: Attempt to invoke virtual method 'boolean uk.co.senab.photoview.PhotoViewAttacher.setDisplayMatrix(android.graphics.Matrix)' on a null object reference

GitHub | hamberluo | 6 months ago
  1. 0

    NullPointerException in PhotoView attacher with version 1.2.7

    GitHub | 6 months ago | hamberluo
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean uk.co.senab.photoview.PhotoViewAttacher.setDisplayMatrix(android.graphics.Matrix)' on a null object reference
  2. 0
    The resource was accessed after it was dismissed.
  3. 0
    The parsed JSON does not contains the requested field.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    Use 'dialog' to access views from custom_layout layout.

    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.NullPointerException

      Attempt to invoke virtual method 'boolean uk.co.senab.photoview.PhotoViewAttacher.setDisplayMatrix(android.graphics.Matrix)' on a null object reference

      at uk.co.senab.photoview.PhotoView.setDisplayMatrix()
    2. uk.co.senab
      PhotoView.setDisplayMatrix
      1. uk.co.senab.photoview.PhotoView.setDisplayMatrix(PhotoView.java:98)
      1 frame