Menu

#82 split fails due to an unexpected/unhandled NullPointer

open
nobody
Split (9)
5
2014-08-28
2011-07-07
NesteaZen
No

Windows XP
Version: 2.2.1
Console version: 2.4.0e
Developed by: Andrea Vacondio
Build date: 31-Oct-2010
Java home: C:\Program Files\Java\jre6
Java version: Java(TM) SE Runtime Environment 1.6.0_26-b03
Max memory: 247Mb
Configuration file: C:\Documents and Settings\Dell\.pdfsam\pdfsam-config.xml

22:57:06,937 INFO Starting PDF Split and Merge basic Ver. 2.2.1

22:57:07,015 INFO Loading configuration..

22:57:07,187 INFO Getting language...

22:57:07,187 INFO Setting look and feel...

22:57:07,203 INFO Setting logging level...

22:57:07,234 INFO Logging level set to DEBUG

22:57:07,375 INFO Merge/Extract plugin loaded.

22:57:07,421 INFO Alternate Mix plugin loaded.

22:57:07,468 INFO Rotate plugin loaded.

22:57:07,531 INFO Split plugin loaded.

22:57:07,656 INFO Visual document composer plugin loaded.

22:57:07,687 INFO Visual reorder plugin loaded.

22:57:07,859 INFO PDF Split and Merge basic Ver. 2.2.1 started in 0 seconds

22:57:07,875 INFO Loading user interface configuration..

22:57:14,421 INFO File selected: 29_pdfsam.pdf

22:57:36,859 DEBUG Starting arguments parsing.

22:57:36,859 DEBUG Command 'split' parsed in 0 seconds

22:57:36,859 DEBUG Starting arguments validation.

22:57:36,875 DEBUG Command 'split' validated in 0 seconds

22:57:38,468 INFO Found 72 pages in input pdf document.

22:57:38,468 DEBUG Creating a new document.

22:57:38,468 DEBUG Creating temporary file..

22:57:38,906 WARN Error cleaning the command executor: The page 2 was requested but the document has only 1 pages.

22:57:38,906 ERROR Command Line: -f C:\a\29_pdfsam.pdf -p pdfsam1_ -s SPLIT -n 6 -o C:\a -compressed -pdfversion 6 split

org.pdfsam.console.exceptions.console.SplitException
at org.pdfsam.console.business.pdf.handlers.SplitCmdExecutor.execute(SplitCmdExecutor.java:112)
at org.pdfsam.console.business.pdf.CmdExecuteManager.execute(CmdExecuteManager.java:97)
at org.pdfsam.console.business.ConsoleServicesFacade.execute(ConsoleServicesFacade.java:75)
at org.pdfsam.guiclient.commons.business.WorkThread.run(WorkThread.java:43)
at org.pdfsam.guiclient.commons.business.WorkExecutor$WorkQueue$PoolWorker.run(WorkExecutor.java:142)
Caused by: java.lang.NullPointerException
at com.lowagie.text.pdf.PdfSmartCopy.copyIndirect(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyArray(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyDictionary(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfSmartCopy.copyIndirect(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyDictionary(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfSmartCopy.copyIndirect(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyArray(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfSmartCopy.copyIndirect(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyObject(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.copyDictionary(Unknown Source)
at com.lowagie.text.pdf.PdfCopy.addPage(Unknown Source)
at org.pdfsam.console.business.pdf.handlers.SplitCmdExecutor.executeSplit(SplitCmdExecutor.java:305)
at org.pdfsam.console.business.pdf.handlers.SplitCmdExecutor.executeSplit(SplitCmdExecutor.java:234)
at org.pdfsam.console.business.pdf.handlers.SplitCmdExecutor.execute(SplitCmdExecutor.java:99)
... 4 more

Discussion


Log in to post a comment.