java.lang.NullPointerException: Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference

GitHub | DavidEdwards | 5 months ago
  1. 0

    NPE caused by source.getConfig() in Utils.scaleAndCenterCropBitmap(Bitmap, int, int)

    GitHub | 5 months ago | DavidEdwards
    java.lang.NullPointerException: Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference
  2. 0

    There is crash log

    GitHub | 11 months ago | akkie2010
    java.lang.NullPointerException
  3. 0

    App loop crashing

    GitHub | 10 months ago | SkyzohKey
    java.lang.NullPointerException: Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TransformationUtils.rotateImageExif may cause NullPointerException

    GitHub | 2 years ago | b22n
    java.lang.NullPointerException: Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference
  6. 0

    GitHub comment 355#184726166

    GitHub | 10 months ago | toXel
    java.lang.NullPointerException: Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference

  1. Agócs Tamás 1 times, last 6 months ago
  2. balajivaishnav 3 times, last 8 months ago
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 read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference

    at android.graphics.Bitmap.createBitmap()
  2. Android Platform
    Bitmap.createBitmap
    1. android.graphics.Bitmap.createBitmap(Bitmap.java:812)
    2. android.graphics.Bitmap.createBitmap(Bitmap.java:789)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:756)
    3 frames
  3. com.google.android
    VideoCastNotificationService$2.onPostExecute
    1. com.google.android.libraries.cast.companionlibrary.utils.Utils.scaleAndCenterCropBitmap(SourceFile:369)
    2. com.google.android.libraries.cast.companionlibrary.notification.VideoCastNotificationService$2.onPostExecute(SourceFile:1240)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.os.AsyncTask.finish(AsyncTask.java:636)
    2. android.os.AsyncTask.access$500(AsyncTask.java:177)
    3. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
    4. android.os.Handler.dispatchMessage(Handler.java:102)
    5. android.os.Looper.loop(Looper.java:211)
    6. android.app.ActivityThread.main(ActivityThread.java:5373)
    6 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
    2 frames
  7. XposedBridge
    XposedBridge.main
    1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
    1 frame