Hi ,

* I am Using PDFBox 0.7.3

*While running a particluar PDF file i got the following EXCEPTION

* java.lang.NullPointerException
    at org.pdfbox.pdmodel.PDPageNode.getCount(PDPageNode.java:116)
    at org.pdfbox.pdmodel.PDDocument.getNumberOfPages(PDDocument.java:772)

* I was about to find the exception is due to* Apache XML Core version* if
the core version is 1.1 it is working fine if it is 2.0 it is not working.

* When the same PDF is saved again the* XML core version* is changed and the
PDF is running well

*Is the getNumberOfPages() extraction is based on XMLCoreVersion

*kindly clarifly


let me know if you have any issues

regards

Karthick.G

Reply via email to