error while starting another activity
<p>i am starting new activity from current activity but some how before starting activity i am getting Null Pointer exception. and startActivity() from source activity calls sucessfully. I am getting Null Pointer exception. the following is code.</p>

<pre><code>Intent intent = new Intent(PdfFileSelectActivity.this, PdfViewerActivity.class)
        .putExtra(EXTRA_PDFFILENAME, pdffilename)
        .putExtra(EXTRA_USENIO, useNIO);
</code></pre>

<p>i checked intenet pdffilename variable and they are not null. and the following is declaration in manifest file.</p>

<p> </p>

<p>Hope to hear soon.</p>
