pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brown Paul T <BrownPa...@JohnDeere.com>
Subject PDFBox Problem
Date Tue, 19 Jan 2016 16:39:20 GMT
Originally sent to 'ben@benlitchfield.com' - which was found at top of source code

I'm trying to save a .PDF as a .JPG - and getting null pointer.   See attached Java Program
and .PDF file
Console Output at bottom


Has anyone used this feature before ?



Thanks -  Paul

Attempt To Write JPEG To ->C:\Temp\MPDReversionJAN2016\FernandoPDF\328693422.jpg

java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDJpeg.write2OutputStream(PDJpeg.java:295)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:284)
      at com.pdfbox.PDFBoxDemoMain.main(PDFBoxDemoMain.java:27)



Paul T Brown
Manufacturing Planning  Systems
A & T Division - Deere & Company
BrownPaulT@JohnDeere.com<mailto:BrownPaulT@JohnDeere.com>
309-748-1387


Mime
View raw message