java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.accounts.Account.type' 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 Stack Overflow by Wookiee
, 10 months ago
Attempt to read from field 'java.lang.String android.accounts.Account.type' on a null object reference
via Stack Overflow by Wookiee
, 9 months ago
Attempt to read from field 'java.lang.String android.accounts.Account.type' on a null object reference
via Stack Overflow by Murat Ekici
, 8 months ago
Attempt to read from field 'java.lang.String android.accounts.Account.type' on a null object reference
via GitHub by mariusc83
, 1 year ago
Attempt to invoke virtual method 'java.lang.String android.net.NetworkInfo$State.name()' on a null object reference
via GitHub by mvysny
, 7 months ago
Attempt to invoke virtual method 'java.lang.String android.net.NetworkInfo$State.name()' on a null object reference
java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.accounts.Account.type' on a null object reference
at android.os.Parcel.readException(Parcel.java:1552)
at android.os.Parcel.readException(Parcel.java:1499)
at com.android.vending.contentfilters.IContentFiltersService$Stub$Proxy.getContentFiltersAndIntent(SourceFile:139)
at com.google.android.videos.contentfiltering.ContentFiltersManager.saveContentFiltersToPreference(SourceFile:438)
at com.google.android.videos.contentfiltering.ContentFiltersManager.access$100(SourceFile:81)
at com.google.android.videos.contentfiltering.ContentFiltersManager$1.onServiceConnected(SourceFile:423)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1314)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1331)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6837)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
12 times, 1 year ago
8 times, 3 months ago
Once, 1 year ago
54 more bugmates

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