title: PDFBox text extraction - empty output
body: <p>I'm trying to extract some infos from a set of PDFs. This works so far, but one PDF gives me grievances. </p>
  
  <p>I'm using PDFBox 1.8.8, with Java 7.</p>
  
  <pre><code>PDDocument document = PDDocument.load(pdfFile);
  PDFTextStripper stripper = new PDFTextStripper();
  System.out.println("File: "+pdfFile.getAbsolutePath()+" readable: "+pdfFile.canRead()+" size: "+pdfFile.length());
  System.out.println(stripper.getText(document));
  </code></pre>
  
  <p>It just prints</p>
  
  <pre><code>File: /foo/bar/mypdf.pdf readable: true size: 1267743
  </code></pre>
  
  <p>Then it terminates. Usually I use the writeText method and funnel the text through a stream, but above code was used for simplification. I've tried converting the PDF with <code>pdftotext</code> - it works just like the others.</p>
  
  <p>I get no exception, no nothing. Any ideas?</p>
  
  <p>EDIT:
  Additional Info: Created with Acrobat Distiller 9.0.0 (Windows), Format PDF-1.6; The other PDFs are Version 1.4 and 1.5</p>
  
  <p>Doesn't seem to contain exotic characters. I can mark/copy text in Evince PDF-viewer</p>
  
  <p>EDIT2:</p>
  
  <p>Dang it. File property dialog (Nautilus) said "Security: No", but <code>pdfinfo</code> gives me:</p>
  
  <pre><code>Encrypted:      yes (print:yes copy:no change:no addNotes:no algorithm:AES)
  </code></pre>
  
  <p>Anyway to circumvent that? After all, <code>pdftotext</code> could get the text out.</p>