java.lang.NullPointerException: uriString

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.NullPointerException: uriString
at android.net.Uri$StringUri.(Uri.java:467)
at android.net.Uri$StringUri.(Uri.java:457)
at android.net.Uri.parse(Uri.java:429)
at com.shex.testapp.MainActivity$5.onClick(MainActivity.java:413)
at android.view.View.performClick(View.java:4438)
at android.view.View$PerformClick.run(View.java:18422)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

Users with the same issue

Once, 3 months ago
5 times, 8 months ago
6 times, 1 year ago
9 times, 1 year ago
8 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.