java.lang.NullPointerException: Attempt to invoke virtual method 'void com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.setImage(com.davemorrissey.labs.subscaleview.ImageSource)' on a null object reference

Stack Overflow | santafebound | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cannot retrieve image asset

    Stack Overflow | 7 months ago | santafebound
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.setImage(com.davemorrissey.labs.subscaleview.ImageSource)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.setImage(com.davemorrissey.labs.subscaleview.ImageSource)' on a null object reference

      at com.yitter.android.MediaPreviewActivity.locateImageView()
    2. com.yitter.android
      MediaPreviewActivity.onCreate
      1. com.yitter.android.MediaPreviewActivity.locateImageView(MediaPreviewActivity.java:87)
      2. com.yitter.android.MediaPreviewActivity.onCreate(MediaPreviewActivity.java:32)
      2 frames