Here is my code where m trying to extracting aal data from server but error is coming at "setImageView()" method. Can any one please help me as soon as possible. my code is about displaying info and images from server.

```
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.widget.ImageView;
import android.widget.TextView;

public class PlantDetails extends Activity {

    String whichPlantId;
    String whichPlantName;
    String whichFamily;
    String whichSystemOfMedicineUsed;
    String whichHabit;
    String whichMedUses;
    String whichCultStatus;
    String whichExplanation;
    String whichimageurl;
    ImageView tvTemp8;
    Activity convertView;
    //finding all textView and ImageView 
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_plant_details);
        TextView tvTemp = (TextView) findViewById(R.id.dpplant_id);
        TextView tvTemp1 = (TextView) findViewById(R.id.dpfullplantname);
        TextView tvTemp2 = (TextView) findViewById(R.id.dpfamily);
        TextView tvTemp3 = (TextView) findViewById(R.id.dpdep_ref);
        TextView tvTemp4 = (TextView) findViewById(R.id.dphabit);
        TextView tvTemp5 = (TextView) findViewById(R.id.dpmeduses);
        TextView tvTemp6 = (TextView) findViewById(R.id.dpcult_status);
        TextView tvTemp7 = (TextView) findViewById(R.id.dpexplanation);

        tvTemp8 = (ImageView) convertView.findViewById(R.id.dpimageurl);
        Intent iGetDetails = getIntent();
        Bundle b = iGetDetails.getExtras();
        whichPlantId = b.getString("plant_id");
        whichPlantName = b.getString("fullplantname");
        whichFamily = b.getString("plantfamily");
        String whichDptRef = b.getString("dptRef");
        whichSystemOfMedicineUsed = "SysMed";
        if(whichDptRef.contains("A"))
        {
            whichSystemOfMedicineUsed += ", Ayurveda";
        }
        if(whichDptRef.contains("S"))
        {
            whichSystemOfMedicineUsed += ", Siddha";
        }
        if(whichDptRef.contains("U"))
        {
            whichSystemOfMedicineUsed += ", Unani";
        }
        if(whichDptRef.contains("H"))
        {
            whichSystemOfMedicineUsed += ", Homeopathy";
        }
        if(whichDptRef.contains("F"))
        {
            whichSystemOfMedicineUsed += ", Folk";
        }
        if(whichDptRef.contains("T"))
        {
            whichSystemOfMedicineUsed += ", Sowa-Rigpa";
        }
        if(whichDptRef.contains("M"))
        {
            whichSystemOfMedicineUsed += ", Modern";
        }
        if(whichDptRef.contains("C"))
        {
            whichSystemOfMedicineUsed += ", Chinese";
        }
        whichSystemOfMedicineUsed = whichSystemOfMedicineUsed.replace("SysMed, ", "");
        whichHabit = b.getString("habit");
        whichMedUses = b.getString("meduses");
        whichExplanation = b.getString("explanation");
        whichCultStatus = b.getString("cultStatus");
        whichimageurl = b.getString("imageurl");
        //seting Textview and imageview
        tvTemp.setText("Plant Id is " + whichPlantId + " Image url is " + whichimageurl);
        tvTemp1.setText("Plant Name: " + whichPlantName);
        tvTemp2.setText("Family:" + whichFamily);
        tvTemp3.setText("System of Medicines: " + whichSystemOfMedicineUsed );
        tvTemp4.setText("Habit:" + whichHabit );
        tvTemp5.setText("Medicinal Uses:" +  whichMedUses);
        tvTemp6.setText("Cultivated Status:" + whichCultStatus);
        tvTemp7.setText("Explanation:" + whichExplanation);
        tvTemp8.setImageResource(whichimageurl);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.activity_plant_details, menu);
        return true;
    }

}

```