I just tried this: java -classpath ./Multivalent20040415.jar tool.pdf.Split -page 1-4,5-end test.pdf And got this: test.pdf test.pdf: java.lang.NullPointerException Does it work for you?