java.lang.IllegalArgumentException: invalid provider: null

GitHub | misaochan | 5 months ago
  1. 0

    Android java.lang.RuntimeException LocationManager

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

    Crash: provider doesn't exist: network

    GitHub | 2 years ago | sashatrn
    java.lang.IllegalArgumentException: provider doesn't exist: network
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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