admin管理员组

文章数量:1292172

I have a weird issue in Crashlytics that I don't understand why it's happening.

java.lang.NullPointerException: Attempt to read from field 'android.graphics.Rect androidx.appcompat.widget.ContentFrameLayout.o' on a null object reference


Caused by java.lang.NullPointerException
Attempt to read from field 'android.graphics.Rect androidx.appcompat.widget.ContentFrameLayout.o' on a null object reference
androidx.appcompat.widget.ContentFrameLayout.setDecorPadding (ContentFrameLayout.java:456)

androidx.appcompat.app.AppCompatActivity.setContentView (AppCompatActivity.java:2)
ui.MainActivity.onCreate (MainActivity.kt:132)

Nothing has really changed in MainActivity for a long time; it just started happening, but I cannot reproduce it on my end. Maybe someone is familiar with this?

本文标签: androidContentFrameLayouto null object referenceStack Overflow