Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getLastPathSegment()' on a null object reference
at com.example.myrecipiebook.MainActivity4.btnUpdateRecipe(MainActivity4.java:113)
what value is in the variable uri when the statement on line 80 is executed?