The current version of Split has a bug in handling documents with outlines. I bet the copy on OS X 10.2 is an older version that does not have this bug.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used the tool.pdf.Split in MacOSX 10.2 with no problems.
In OSX 10.3 (Java 1.4.2), when I type
java -classpath /Users/me/Desktop/Multivalent.jar tool.pdf.Split -page '1-23' motionmountain.pdf
in the command line I get two lines with
motionmountain.pdf
motionmountain.pdf: java.lang.NullPointerException
And the generated file motionmountain-x.pdf has zero
bytes.
This looks like a general error. What
(probably simple thing) am I doing wrong?
Thanks you in advance!
Christoph Schiller
P.S. This is to improve my free physics text
at www.motionmountain.net
The current version of Split has a bug in handling documents with outlines. I bet the copy on OS X 10.2 is an older version that does not have this bug.
I, too, am having this problem. I'm working on a Win2k laptop with Java 1.4.2.
I've tried a couple of different PDFs, and get the same thing each time.
C:\>java -classpath .\multivalent20040415.jar tool.pdf.Spl
it -verbose -page 1 c:\My\Documents\form406.pdf
c:\My\Documents\form406.pdf: java.lang.NullPointerException
Is there any way I can get more detailed diagnostics out of the tool?
Thanks.
FWIW, I tried the same command using the R7 release. It worked fine!