java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pollux-
, 1 year ago
Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
via GitHub by andhie
, 9 months ago
Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
via GitHub by ChanSek
, 1 year ago
Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
via GitHub by droidandrew
, 1 year ago
Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
at com.facebook.stetho.inspector.elements.Document$4.store(Document.java:394)
at com.facebook.stetho.inspector.elements.ShadowDocument$Update.getChangedElements(ShadowDocument.java:297)
at com.facebook.stetho.inspector.elements.Document.applyDocumentUpdate(Document.java:378)
at com.facebook.stetho.inspector.elements.Document.updateTree(Document.java:333)
at com.facebook.stetho.inspector.elements.Document.access$1200(Document.java:30)
at com.facebook.stetho.inspector.elements.Document$ProviderListener.onPossiblyChanged(Document.java:688)
at com.facebook.stetho.inspector.elements.android.AndroidDocumentProvider$1.run(AndroidDocumentProvider.java:67)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.