Karthick.G,

I would suggest to have a try with PDFBox 1.1.0, which is the latest release of pdfbox.

It can be downloaded from: http://pdfbox.apache.org/download.html

Greetings,
Erik
--

My blog: http://blog.elitecoderz.net


On 28.04.10 13:51, karthick g wrote:
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