[ https://issues.apache.org/jira/browse/PDFBOX-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Nichols updated PDFBOX-911: -------------------------------- Attachment: test.unc.pdf I'm not sure why I'm getting different results. I'm using Windows Vista (32-bit), Java 1.5, PDFBox trunk. I'd love to dig into it and see what the problem is, but that's pretty difficult without being able to reproduce any problems. Could someone who's having this issue with test.pdf try test.unc.pdf and see if the problem exists there as well? If so, that file will be way easier to debug. > Method PDDocument.getNumberOfPages() returns wrong number of pages > ------------------------------------------------------------------ > > Key: PDFBOX-911 > URL: https://issues.apache.org/jira/browse/PDFBOX-911 > Project: PDFBox > Issue Type: Bug > Affects Versions: 1.3.1 > Environment: Windows XP, Eclipse 3.5.2 Galileo > Reporter: nielsen > Attachments: atest.pdf, Martijn Brinkers.jpg, test.pdf, test.unc.pdf > > > Hello, > I use PDFbox and are very pleased. > For one PDF file however getNumberOfPages() returns the wrong number of pages > (1 instead of 2 pages). > Test code: > File xx = new File("c:\\temp\\test.pdf"); > PDDocument pdoc = PDDocument.load(xx); > int x = pdoc.getNumberOfPages(); > The PDF file could be provided. > Thanks in advance. > Regards -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.