java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When running KS geolocation test in 4.0 emulator, the following error can be seen in log: "E/TiApplication( 717): (KrollRuntimeThread) [330,14786] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.IllegalArgumentException: provider=network; Titanium 2.0.0,2012/03/21 17:57,eaa000e E/TiApplication( 717): java.lang.IllegalArgumentException: provider=network E/TiApplication( 717): at android.os.Parcel.readException(Parcel.java:1331) E/TiApplication( 717): at android.os.Parcel.readException(Parcel.java:1281) E/TiApplication( 717): at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:646) E/TiApplication( 717): at android.location.LocationManager._requestLocationUpdates(LocationManager.java:582) E/TiApplication( 717): at android.location.LocationManager.requestLocationUpdates(LocationManager.java:446) E/TiApplication( 717): at ti.modules.titanium.geolocation.GeolocationModule.registerLocationProvider(GeolocationModule.java:613) E/TiApplication( 717): at ti.modules.titanium.geolocation.GeolocationModule.doEnableLocationProviders(GeolocationModule.java:658) E/TiApplication( 717): at ti.modules.titanium.geolocation.GeolocationModule.handleMessage(GeolocationModule.java:216) E/TiApplication( 717): at android.os.Handler.dispatchMessage(Handler.java:95) E/TiApplication( 717): at android.os.Looper.loop(Looper.java:137) E/TiApplication( 717): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:104) E/AndroidRuntime( 717): FATAL EXCEPTION: KrollRuntimeThread " Only able to reproduce on emulator but null provider should be handled gracefully.
    via by Opie Cyrus,
  • When running KS geolocation test in 4.0 emulator, the following error can be seen in log: "E/TiApplication( 717): (KrollRuntimeThread) [330,14786] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.IllegalArgumentException: provider=network; Titanium 2.0.0,2012/03/21 17:57,eaa000e E/TiApplication( 717): java.lang.IllegalArgumentException: provider=network E/TiApplication( 717): at android.os.Parcel.readException(Parcel.java:1331) E/TiApplication( 717): at android.os.Parcel.readException(Parcel.java:1281) E/TiApplication( 717): at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:646) E/TiApplication( 717): at android.location.LocationManager._requestLocationUpdates(LocationManager.java:582) E/TiApplication( 717): at android.location.LocationManager.requestLocationUpdates(LocationManager.java:446) E/TiApplication( 717): at ti.modules.titanium.geolocation.GeolocationModule.registerLocationProvider(GeolocationModule.java:613) E/TiApplication( 717): at ti.modules.titanium.geolocation.GeolocationModule.doEnableLocationProviders(GeolocationModule.java:658) E/TiApplication( 717): at ti.modules.titanium.geolocation.GeolocationModule.handleMessage(GeolocationModule.java:216) E/TiApplication( 717): at android.os.Handler.dispatchMessage(Handler.java:95) E/TiApplication( 717): at android.os.Looper.loop(Looper.java:137) E/TiApplication( 717): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:104) E/AndroidRuntime( 717): FATAL EXCEPTION: KrollRuntimeThread " Only able to reproduce on emulator but null provider should be handled gracefully.
    via by Opie Cyrus,
  • startservice in android 3.0
    via Stack Overflow by moon
    ,
  • need a BETTER way for current location
    via Stack Overflow by user1105115
    ,
    • java.lang.IllegalArgumentException: provider=network at android.os.Parcel.readException(Parcel.java:1331) at android.os.Parcel.readException(Parcel.java:1281) at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:646) at android.location.LocationManager._requestLocationUpdates(LocationManager.java:582) at android.location.LocationManager.requestLocationUpdates(LocationManager.java:446) at ti.modules.titanium.geolocation.GeolocationModule.registerLocationProvider(GeolocationModule.java:613) at ti.modules.titanium.geolocation.GeolocationModule.doEnableLocationProviders(GeolocationModule.java:658) at ti.modules.titanium.geolocation.GeolocationModule.handleMessage(GeolocationModule.java:216) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:137) at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:104)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    filipebatista
    1 times, last one,
    Unknown visitor1 times, last one,
    35 more bugmates