title: Read pdf using iText
body: <p>I am getting problem to read pdf files using iText in java. I can read only one page but  when I go to second page it gives exception.I want to read all the pages of any pdf file.</p>
  
  <pre><code>PdfTextExtractor parser =new PdfTextExtractor(new PdfReader("C:/Text.pdf"));
  parser.getTextFromPage(3);
  </code></pre>
  
  <p>I am using these lines and at second line gives exception.</p>