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 user3265879
, 11 months ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via GitHub by tobykurien
, 2 years ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via GitHub by tobykurien
, 2 years ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via GitHub by misaochan
, 1 year ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference	at android.os.Parcel.readStringList(Parcel.java:2109)	at fr.free.nrw.commons.Media.(Media.java:238)	at fr.free.nrw.commons.contributions.Contribution.(Contribution.java:76)	at fr.free.nrw.commons.contributions.Contribution$1.createFromParcel(Contribution.java:25)	at fr.free.nrw.commons.contributions.Contribution$1.createFromParcel(Contribution.java:23)	at android.os.Parcel.readParcelable(Parcel.java:2367)	at android.os.Parcel.readValue(Parcel.java:2264)	at android.os.Parcel.readArrayMapInternal(Parcel.java:2614)	at android.os.BaseBundle.unparcel(BaseBundle.java:221)	at android.os.BaseBundle.getBoolean(BaseBundle.java:659)	at android.app.Activity.restoreHasCurrentPermissionRequest(Activity.java:7126)	at android.app.Activity.performCreate(Activity.java:6876)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3208)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3351)	at android.app.ActivityThread.access$1100(ActivityThread.java:222)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1796)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:158)	at android.app.ActivityThread.main(ActivityThread.java:7230)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)