findViewById(R.id.list_view); returning "null"
<p>I am trying to display <code>ListView</code>.</p>

<p>I have created one <code>activity</code> , in <code>onCreate()</code> method I am launching one <code>AsyncTask</code> and in <code>onPostExecute()</code> method I am trying display <code>ListView</code> in that .</p>

<p>but <code>listView</code> object receiving null..</p>

<p>Below is the code snippet.</p>

<pre><code> protected void onPostExecute(KpiResponseObject kpiReportResponse) {
     ListView listView;
     listView = (ListView) findViewById(R.id.list_view);
}
</code></pre>

<p>Here I'am receiving null in <code>listView</code> object.</p>

<p>I am suspecting this is the <code>context</code> problem , but not able figure out what exactly it is.</p>
