after capture camera image when i save then not return in activity and crash app but everything is ok in my samsung mobile : #after capture camera image when i save then not return in activity and crash app but everything is ok in my samsung mobile but giving this error in redmii phone and others mobile #

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
                                                  Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference
                                                     at com.logiclump.technologies.gigmedico.Home.onActivityResult(Home.java:101)
                                                     at android.app.Activity.dispatchActivityResult(Activity.java:6562)
                                                     at android.app.ActivityThread.deliverResults(ActivityThread.java:3768)


#this is second activity where i m getting inttent#

     Bundle bundle = getIntent().getExtras();
        if (bundle != null) {
            

            Log.e("ashish", bundle.getString("imgUrl") + "");
            path = Uri.parse(bundle.getString("imgUrl"));


        }

        ImageView selfiiii = (ImageView) findViewById(R.id.mySelfie);
        selfiiii.setImageURI(path);