First of all, my AsyncTask works perfect while fetching data to show on my activity. But when i click to start another activity, i get java.lang.NullPointerException
error right here:
protected void onPostExecute(JSONObject jsonArray) {
//super.onPostExecute(jsonArray);
Error Here -> onTaskComplete.setMyTaskComplete(jsonArray);
if(pDialog != null)
pDialog.dismiss();
/*if(jsonArray != null){
arrVer(jsonArray);
}*/
}
Anybody has any idea what may cause the problem?