java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.upload.ShareActivity}: java.lang.IllegalArgumentException: invalid provider: null

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by misaochan
, 1 year ago
Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.upload.ShareActivity}: java.lang.IllegalArgumentException: invalid provider: null
via GitHub by VojtechDostal
, 7 months ago
Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.settings.SettingsActivity}: java.lang.RuntimeException: Unrecognized license value
via Stack Overflow by jamie
, 2 years ago
Unable to start activity ComponentInfo{com.example.mydomain.fysio/com.example.mydomain.fysio.singleTip}: java.lang.NullPointerException: storage == null
via Stack Overflow by Katedral Pillon
, 1 year ago
Unable to start activity ComponentInfo{com.company.android/com.company.android.activities.SearchableActivity}: java.lang.IllegalArgumentException: column '_id' does not exist
via GitHub by bychkovdmitrii
, 1 year ago
Unable to start activity ComponentInfo{com.dbychkov.flights/ru.aviasales.example.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via Stack Overflow by Domenico Rafti
, 2 years ago
Unable to start activity ComponentInfo{parlamento_italiano.android/com.prova.prova3.Quarta}: java.lang.NumberFormatException: Invalid int: ""
java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.upload.ShareActivity}: java.lang.IllegalArgumentException: invalid provider: null
at android.location.LocationManager.checkProvider(LocationManager.java:1742)
at fr.free.nrw.commons.upload.GPSExtractor.registerLocationManager(GPSExtractor.java:60)
at fr.free.nrw.commons.upload.GPSExtractor.getCoords(GPSExtractor.java:95)
at fr.free.nrw.commons.upload.ShareActivity.getLocationData(ShareActivity.java:333)
at fr.free.nrw.commons.upload.ShareActivity.onCreate(ShareActivity.java:277)
at android.app.Activity.performCreate(Activity.java:6609)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3244)
at android.app.ActivityThread.access$1000(ActivityThread.java:219)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1719)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6922)
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, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 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.