Merging pdf - files problems

Asked by baumtopf

Hello,

I get following problems. I tried to merge pdf -files like this:

baumtopf@ubuntu:~$ pdftk eee.pdf fff.pdf ggg.pdf cat output merged.pdf
Unhandled Java Exception:
Unhandled Java Exception:
java.lang.NullPointerException
   at gnu.gcj.runtime.NameFinder.lookup(NameFinder.java:201)
   at java.lang.VMThrowable.getStackTrace(natVMThrowable.cc:44)
   at java.lang.Throwable.getStackTrace(Throwable.java:524)
   at java.lang.Throwable.stackTraceString(Throwable.java:419)
   at java.lang.Throwable.printStackTrace(Throwable.java:365)
   at java.lang.Throwable.printStackTrace(Throwable.java:354)
baumtopf@ubuntu:~$

But it doesn't work and I don't know why. At first I thought my pdf -files are too big to merge. Later I tried to merge other pdf - files which are also very big files and it works. But I cannot understand when it works and when not. And often this error message comes above. So what can I do? Please help!

To understand better my problems, please watch my video:

http://www.youtube.com/watch?v=_8KYtwC8tDY

In this source:

https://bugs.launchpad.net/ubuntu/+source/gcj-4.5/+bug/779908

they mean the error disappears if I add in the command LANG=C like this:

baumtopf@ubuntu:~$ LANG=C pdftk eee.pdf fff.pdf ggg.pdf cat output merged2.pdf
Unhandled Java Exception:
Unhandled Java Exception:
java.lang.NullPointerException
   at gnu.gcj.runtime.NameFinder.lookup(NameFinder.java:201)
   at java.lang.VMThrowable.getStackTrace(natVMThrowable.cc:44)
   at java.lang.Throwable.getStackTrace(Throwable.java:524)
   at java.lang.Throwable.stackTraceString(Throwable.java:419)
   at java.lang.Throwable.printStackTrace(Throwable.java:365)
   at java.lang.Throwable.printStackTrace(Throwable.java:354)
baumtopf@ubuntu:~$

But it also doesn't work, so what can I do?

Please help!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu pdftk Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcus aurelius (adbiz) said :
#1

the software center has many pdf merging software. have you tried another one? i find that not every program in the software center works.

Revision history for this message
baumtopf (baumtopf) said :
#2

Hello Marcus,

After three starting forum threads and ca. 150 people watching my threads without answering I'm very happy that someone answers me!

Thank you very much!

Yes, you are right. I find an alternative for merging pdf files, for example PDF-Shuffler. But I look for a programme which can merge, split, attach, set background and stamp. I know only few programmes which get these abilities are PDFTK or PDF Chain.

Do you know other programmes which get these abilities?

I get some problems with these two programmes, PDFTK and PDF Chain, which you can watch in my video:

http://www.youtube.com/watch?v=_8KYtwC8tDY

Or do you get other ideas? Do you know how to solve these problems?

Regards, Juergen

Can you help with this problem?

Provide an answer of your own, or ask baumtopf for more information if necessary.

To post a message you must log in.