java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.Bitmap cn.finalteam.galleryfinal.widget.crop.RotateBitmap.getBitmap()' on a null object reference

GitHub | XiaoXunLu | 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

    GitHub comment 98#230971033

    GitHub | 7 months ago | XiaoXunLu
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.Bitmap cn.finalteam.galleryfinal.widget.crop.RotateBitmap.getBitmap()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'android.graphics.Bitmap cn.finalteam.galleryfinal.widget.crop.RotateBitmap.getBitmap()' on a null object reference

      at cn.finalteam.galleryfinal.widget.crop.ImageViewTouchBase.setImageRotateBitmapResetBase()
    2. cn.finalteam.galleryfinal
      CropImageView.onLayout
      1. cn.finalteam.galleryfinal.widget.crop.ImageViewTouchBase.setImageRotateBitmapResetBase(ImageViewTouchBase.java:180)
      2. cn.finalteam.galleryfinal.widget.crop.CropImageView.setImageRotateBitmapResetBase(CropImageView.java:27)
      3. cn.finalteam.galleryfinal.widget.crop.ImageViewTouchBase$1.run(ImageViewTouchBase.java:174)
      4. cn.finalteam.galleryfinal.widget.crop.ImageViewTouchBase.onLayout(ImageViewTouchBase.java:106)
      5. cn.finalteam.galleryfinal.widget.crop.CropImageView.onLayout(CropImageView.java:52)
      5 frames