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 | 10 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 98#230971033

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