java.lang.NullPointerException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21064

  • Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference
  • via GitHub by toXel
    , 1 year ago
    Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference
  • Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference
  • Stack trace

    • java.lang.NullPointerException: Attempt to read from field 'int android.graphics.Bitmap$Config.nativeInt' on a null object reference at android.graphics.Bitmap.createBitmap(Bitmap.java:812) at android.graphics.Bitmap.createBitmap(Bitmap.java:789) at android.graphics.Bitmap.createBitmap(Bitmap.java:756) at com.google.android.libraries.cast.companionlibrary.utils.Utils.scaleAndCenterCropBitmap(SourceFile:369) at com.google.android.libraries.cast.companionlibrary.notification.VideoCastNotificationService$2.onPostExecute(SourceFile:1240) at android.os.AsyncTask.finish(AsyncTask.java:636) at android.os.AsyncTask.access$500(AsyncTask.java:177) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:211) at android.app.ActivityThread.main(ActivityThread.java:5373) at java.lang.reflect.Method.invoke(Method.java) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    3 times, 1 year ago
    Unknown user
    Once, 8 months ago