java.lang.NullPointerException: Attempt to invoke virtual method 'void uk.co.senab.photoview.PhotoViewAttacher.setScaleLevels(float, float, float)' on a null object reference

GitHub | hamberluo | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NullPointerException in PhotoView attacher with version 1.2.7

    GitHub | 9 months ago | hamberluo
    java.lang.NullPointerException: Attempt to invoke virtual method 'void uk.co.senab.photoview.PhotoViewAttacher.setScaleLevels(float, float, float)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void uk.co.senab.photoview.PhotoViewAttacher.setScaleLevels(float, float, float)' on a null object reference

      at uk.co.senab.photoview.PhotoView.setScaleLevels()
    2. uk.co.senab
      PhotoView.setScaleLevels
      1. uk.co.senab.photoview.PhotoView.setScaleLevels(PhotoView.java:148)
      1 frame