Android unistall shortcuts
<p>Our application creates and deletes bookmark (web links) on the home screen of the agent. If we attempt to create a bookmark with the same name as an existing icon group (such as Google) then it doesnt create (we are ok with this). The problem is that if our code attempts to clean up the shortcuts later, if a delete command is sent for this non existing bookmark the launcher crashes.  This only happens if we attempt to delete a bookmark that has the same name as an icon group (such as Google)</p>

<p>Log Snippet:</p>

<p>Log excerpt (contains only error)</p>

<p>07-08 14:02:51.238 E/AndroidRuntime(  314): FATAL EXCEPTION: main
07-08 14:02:51.238 E/AndroidRuntime(  314): java.lang.RuntimeException: Unable to start receiver com.android.launcher2.UninstallShortcutReceiver: java.lang.NullPointerException
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.app.ActivityThread.handleReceiver(ActivityThread.java:2126)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.app.ActivityThread.access$1500(ActivityThread.java:123)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1197)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.os.Handler.dispatchMessage(Handler.java:99)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.os.Looper.loop(Looper.java:137)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.app.ActivityThread.main(ActivityThread.java:4424)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at java.lang.reflect.Method.invokeNative(Native Method)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at java.lang.reflect.Method.invoke(Method.java:511)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at dalvik.system.NativeStart.main(Native Method)
07-08 14:02:51.238 E/AndroidRuntime(  314): Caused by: java.lang.NullPointerException
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.content.Intent.parseUri(Intent.java:3283)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at com.android.launcher2.UninstallShortcutReceiver.onReceive(UninstallShortcutReceiver.java:58)
07-08 14:02:51.238 E/AndroidRuntime(  314):      at android.app.ActivityThread.handleReceiver(ActivityThread.java:2119)
07-08 14:02:51.238 E/AndroidRuntime(  314):     </p>
