java.lang.NullPointerException: uriString

Apereo Issues | Jeff Cross | 5 years 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

    When searching in the map view, the app force closes with a NullPointerException. Stack trace: 01-09 11:42:28.416: E/TiApplication(1306): (main) [26475,107474] Sending event: exception on thread: main msg:java.lang.NullPointerException: uriString; Titanium 1.9.0,2011/12/16 14:32,ea7ebc4 01-09 11:42:28.416: E/TiApplication(1306): java.lang.NullPointerException: uriString 01-09 11:42:28.416: E/TiApplication(1306): at android.net.Uri$StringUri.<init>(Uri.java:420) 01-09 11:42:28.416: E/TiApplication(1306): at android.net.Uri$StringUri.<init>(Uri.java:410) 01-09 11:42:28.416: E/TiApplication(1306): at android.net.Uri.parse(Uri.java:382) 01-09 11:42:28.416: E/TiApplication(1306): at org.appcelerator.titanium.io.TiFileFactory.isLocalScheme(TiFileFactory.java:119) 01-09 11:42:28.416: E/TiApplication(1306): at org.appcelerator.titanium.util.TiUrl.resolve(TiUrl.java:201) 01-09 11:42:28.416: E/TiApplication(1306): at org.appcelerator.kroll.KrollProxy.resolveUrl(KrollProxy.java:720) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView$TitaniumOverlay.createItem(TiMapView.java:227) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView$TitaniumOverlay.createItem(TiMapView.java:155) 01-09 11:42:28.416: E/TiApplication(1306): at com.google.android.maps.ItemizedOverlay.populate(ItemizedOverlay.java:309) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView$TitaniumOverlay.setAnnotations(TiMapView.java:167) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView.doSetAnnotations(TiMapView.java:613) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView.doUpdateAnnotations(TiMapView.java:472) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView.handleMessage(TiMapView.java:437) 01-09 11:42:28.416: E/TiApplication(1306): at android.os.Handler.dispatchMessage(Handler.java:95) 01-09 11:42:28.416: E/TiApplication(1306): at android.os.Looper.loop(Looper.java:130) 01-09 11:42:28.416: E/TiApplication(1306): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-09 11:42:28.416: E/TiApplication(1306): at java.lang.reflect.Method.invokeNative(Native Method) 01-09 11:42:28.416: E/TiApplication(1306): at java.lang.reflect.Method.invoke(Method.java:507) 01-09 11:42:28.416: E/TiApplication(1306): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-09 11:42:28.416: E/TiApplication(1306): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-09 11:42:28.416: E/TiApplication(1306): at dalvik.system.NativeStart.main(Native Method)

    Apereo Issues | 5 years ago | Jeff Cross
    java.lang.NullPointerException: uriString
  2. 0

    When searching in the map view, the app force closes with a NullPointerException. Stack trace: 01-09 11:42:28.416: E/TiApplication(1306): (main) [26475,107474] Sending event: exception on thread: main msg:java.lang.NullPointerException: uriString; Titanium 1.9.0,2011/12/16 14:32,ea7ebc4 01-09 11:42:28.416: E/TiApplication(1306): java.lang.NullPointerException: uriString 01-09 11:42:28.416: E/TiApplication(1306): at android.net.Uri$StringUri.<init>(Uri.java:420) 01-09 11:42:28.416: E/TiApplication(1306): at android.net.Uri$StringUri.<init>(Uri.java:410) 01-09 11:42:28.416: E/TiApplication(1306): at android.net.Uri.parse(Uri.java:382) 01-09 11:42:28.416: E/TiApplication(1306): at org.appcelerator.titanium.io.TiFileFactory.isLocalScheme(TiFileFactory.java:119) 01-09 11:42:28.416: E/TiApplication(1306): at org.appcelerator.titanium.util.TiUrl.resolve(TiUrl.java:201) 01-09 11:42:28.416: E/TiApplication(1306): at org.appcelerator.kroll.KrollProxy.resolveUrl(KrollProxy.java:720) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView$TitaniumOverlay.createItem(TiMapView.java:227) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView$TitaniumOverlay.createItem(TiMapView.java:155) 01-09 11:42:28.416: E/TiApplication(1306): at com.google.android.maps.ItemizedOverlay.populate(ItemizedOverlay.java:309) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView$TitaniumOverlay.setAnnotations(TiMapView.java:167) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView.doSetAnnotations(TiMapView.java:613) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView.doUpdateAnnotations(TiMapView.java:472) 01-09 11:42:28.416: E/TiApplication(1306): at ti.modules.titanium.map.TiMapView.handleMessage(TiMapView.java:437) 01-09 11:42:28.416: E/TiApplication(1306): at android.os.Handler.dispatchMessage(Handler.java:95) 01-09 11:42:28.416: E/TiApplication(1306): at android.os.Looper.loop(Looper.java:130) 01-09 11:42:28.416: E/TiApplication(1306): at android.app.ActivityThread.main(ActivityThread.java:3683) 01-09 11:42:28.416: E/TiApplication(1306): at java.lang.reflect.Method.invokeNative(Native Method) 01-09 11:42:28.416: E/TiApplication(1306): at java.lang.reflect.Method.invoke(Method.java:507) 01-09 11:42:28.416: E/TiApplication(1306): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) 01-09 11:42:28.416: E/TiApplication(1306): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) 01-09 11:42:28.416: E/TiApplication(1306): at dalvik.system.NativeStart.main(Native Method)

    Apereo Issues | 5 years ago | Jeff Cross
    java.lang.NullPointerException: uriString
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Getting error while playing ringtones uri | Ask Jon Skeet

    askjonskeet.com | 2 years ago
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000000 (has extras) } in com.zafar.batterynotify.BatteryService$1@4053f718
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.NullPointerException

    uriString

    at android.net.Uri$StringUri.<init>()
  2. Android Platform
    Uri.parse
    1. android.net.Uri$StringUri.<init>(Uri.java:420)
    2. android.net.Uri$StringUri.<init>(Uri.java:410)
    3. android.net.Uri.parse(Uri.java:382)
    3 frames
  3. org.appcelerator.titanium
    TiUrl.resolve
    1. org.appcelerator.titanium.io.TiFileFactory.isLocalScheme(TiFileFactory.java:119)
    2. org.appcelerator.titanium.util.TiUrl.resolve(TiUrl.java:201)
    2 frames
  4. org.appcelerator.kroll
    KrollProxy.resolveUrl
    1. org.appcelerator.kroll.KrollProxy.resolveUrl(KrollProxy.java:720)
    1 frame
  5. ti.modules.titanium
    TiMapView$TitaniumOverlay.createItem
    1. ti.modules.titanium.map.TiMapView$TitaniumOverlay.createItem(TiMapView.java:227)
    2. ti.modules.titanium.map.TiMapView$TitaniumOverlay.createItem(TiMapView.java:155)
    2 frames
  6. Robolectric
    ItemizedOverlay.populate
    1. com.google.android.maps.ItemizedOverlay.populate(ItemizedOverlay.java:309)
    1 frame
  7. ti.modules.titanium
    TiMapView.handleMessage
    1. ti.modules.titanium.map.TiMapView$TitaniumOverlay.setAnnotations(TiMapView.java:167)
    2. ti.modules.titanium.map.TiMapView.doSetAnnotations(TiMapView.java:613)
    3. ti.modules.titanium.map.TiMapView.doUpdateAnnotations(TiMapView.java:472)
    4. ti.modules.titanium.map.TiMapView.handleMessage(TiMapView.java:437)
    4 frames
  8. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:95)
    2. android.os.Looper.loop(Looper.java:130)
    3. android.app.ActivityThread.main(ActivityThread.java:3683)
    3 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:507)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame