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

GitHub | misaochan | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    GitHub | 7 months ago | misaochan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{fr.free.nrw.commons/fr.free.nrw.commons.upload.ShareActivity}: java.lang.IllegalArgumentException: invalid provider: null
  2. 0

    Android java.lang.RuntimeException LocationManager

    Stack Overflow | 3 years ago | keith Spiteri
    java.lang.IllegalArgumentException: invalid provider: null
  3. 0

    Android Permission error in requestLocationUpdates

    Stack Overflow | 2 weeks ago | ahmed osama
    java.lang.IllegalArgumentException: invalid provider: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ACRA report: provider doesn't exist: gps

    GitHub | 2 years ago | garvankeeley
    java.lang.IllegalArgumentException: provider doesn't exist: gps
  6. 0

    LocationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER) is not reliable, why?

    Stack Overflow | 4 years ago | Tomcat
    java.lang.IllegalArgumentException: requested provider network doesn't exisit

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      invalid provider: null

      at android.location.LocationManager.checkProvider()
    2. Android Platform
      LocationManager.requestLocationUpdates
      1. android.location.LocationManager.checkProvider(LocationManager.java:1742)
      2. android.location.LocationManager.requestLocationUpdates(LocationManager.java:459)
      2 frames
    3. fr.free.nrw
      ShareActivity.onCreate
      1. fr.free.nrw.commons.upload.GPSExtractor.registerLocationManager(GPSExtractor.java:60)
      2. fr.free.nrw.commons.upload.GPSExtractor.getCoords(GPSExtractor.java:95)
      3. fr.free.nrw.commons.upload.ShareActivity.getLocationData(ShareActivity.java:333)
      4. fr.free.nrw.commons.upload.ShareActivity.onCreate(ShareActivity.java:277)
      4 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6609)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3087)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3244)
      5. android.app.ActivityThread.access$1000(ActivityThread.java:219)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1719)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:145)
      9. android.app.ActivityThread.main(ActivityThread.java:6922)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
      2 frames