02-13-2007, 05:57 PM | #16 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2007
Device: iRex Iliad
|
Does not work at all for me
I use Linux. If I start the application and choose a directory or a diffrent merge type I get an error like the follow:
Exception during event dispatch: java.lang.NullPointerException at javax.swing.plaf.basic.BasicTextUI.getVisibleEdito rRect(libgcj.so.70) at javax.swing.plaf.basic.BasicTextUI$DocumentHandler .removeUpdate(libgcj.so.70) at javax.swing.text.AbstractDocument.fireRemoveUpdate (libgcj.so.70) at javax.swing.text.AbstractDocument.removeImpl(libgc j.so.70) at javax.swing.text.AbstractDocument.remove(libgcj.so .70) at javax.swing.text.AbstractDocument.replace(libgcj.s o.70) at javax.swing.text.JTextComponent.setText(libgcj.so. 70) at iliadpdfscribblemerger.ScribbleMergeForm.FixDestin ation(ScribbleMergeForm.java:822) at iliadpdfscribblemerger.ScribbleMergeForm.rbtMTExis tingActionPerformed(ScribbleMergeForm.java:792) at iliadpdfscribblemerger.ScribbleMergeForm.access$50 0(ScribbleMergeForm.java:30) at iliadpdfscribblemerger.ScribbleMergeForm$6.actionP erformed(ScribbleMergeForm.java:163) at javax.swing.AbstractButton.fireActionPerformed(lib gcj.so.70) at javax.swing.AbstractButton$1.actionPerformed(libgc j.so.70) at javax.swing.DefaultButtonModel.fireActionPerformed (libgcj.so.70) at javax.swing.JToggleButton$ToggleButtonModel.setPre ssed(libgcj.so.70) at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(libgcj.so.70) at java.awt.AWTEventMulticaster.mouseReleased(libgcj. so.70) at java.awt.Component.processMouseEvent(libgcj.so.70) at java.awt.Component.processEvent(libgcj.so.70) at java.awt.Container.processEvent(libgcj.so.70) at java.awt.Component.dispatchEventImpl(libgcj.so.70) at java.awt.Container.dispatchEventImpl(libgcj.so.70) at java.awt.Component.dispatchEvent(libgcj.so.70) at java.awt.LightweightDispatcher.handleMouseEvent(li bgcj.so.70) at java.awt.LightweightDispatcher.dispatchEvent(libgc j.so.70) at java.awt.Container.dispatchEventImpl(libgcj.so.70) at java.awt.Window.dispatchEventImpl(libgcj.so.70) at java.awt.Component.dispatchEvent(libgcj.so.70) at java.awt.EventQueue.dispatchEvent(libgcj.so.70) at java.awt.EventDispatchThread.run(libgcj.so.70) |
02-17-2007, 05:50 AM | #17 | |
Enthusiast
Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
|
Quote:
I have fixed the problem with the 'create new' option (I introduced a bug with the path-separators), and I am pretty sure I fixed your last problem also; I changed the way to delete the source directory (Until now I deleted the pdf, manifest, scribbles and directory manually, now I delete everything in the source directory - so no files could be left). Can you report it if everything works OK now for you? PS: Sorry for the late reply, I had a very pretty busy week and didn't have the time (nor the energy) to check things here. |
|
Advert | |
|
02-17-2007, 05:38 PM | #18 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2007
|
Quote:
Last edited by lsz; 02-17-2007 at 05:40 PM. |
|
02-18-2007, 11:00 AM | #19 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2007
Device: iRex Iliad
|
It still does not work, there is no diffrence for me to the last version.
|
02-24-2007, 02:02 PM | #20 | |
мокрец
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
|
Quote:
Code:
vassilii@ilmarinen:/tmp$ java -jar ILiadPdfScribbleMerger.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: iliadpdfscribblemerger/Main (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) vassilii@ilmarinen:/tmp$ java -version java version "1.4.2-03" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03) Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode) |
|
Advert | |
|
02-24-2007, 05:44 PM | #21 |
Enthusiast
Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
|
Fix for java 1.4.2, Linux
I finally found the time to fiddle around with an old Linux box (with java 1.4.2 installed) to check if things where working like they should ... and they didn't.
Because I only used classes and libraries fit for 1.4, I expected everything to work in 1.4 even though I wrote the app in 1.5 (and didn't test it in 1.4 ). Some of the methods methods didn't exist in 1.4 though (like string.format), and those where easy to fix. So here's a version identical to the 1.3 from earlier, except from some internal changes to work in java 1.4.2. This version also definately works in Linux (well, it does on my old Mandriva 2005 pc). |
02-25-2007, 02:09 PM | #22 |
мокрец
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
|
thanks, Bert. Works like a charm, same PC. It's a Debian etch x86 box, btw.
Are you planning to release the sources? |
02-26-2007, 03:08 PM | #23 |
Connoisseur
Posts: 73
Karma: 16
Join Date: Jul 2006
Location: Zurich, Switzerland
|
Very cool tool, works like a charm on my mac.
Just one question :-) Do you also have a command-line version of this one? E.g. instead of launching the Java-Swing app, it would be great to have some control for command-line operation, e.g. something like java -jar "ILiadPdfScribbleMerger.jar" -i input-folder -o output.pdf I'm building my own setup here so I could automate the whole conversion process Anyway, many thanks for your tool, I like it very much!!! |
02-26-2007, 06:34 PM | #24 |
Enthusiast
Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
|
On the request of kusmi: version 1.4 allows merging with the command line
(try -? for usage details, launching without arguments starts the GUI) |
02-27-2007, 03:40 AM | #25 |
Connoisseur
Posts: 73
Karma: 16
Join Date: Jul 2006
Location: Zurich, Switzerland
|
Wow, you are a maniac - that was fast :-) Many many thanks!!!
|
02-27-2007, 07:16 AM | #26 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
02-27-2007, 07:39 AM | #27 | |
мокрец
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
|
Quote:
I am aware of relatively easy reverse-engineering of Java class files, but my question was related to whether the sources are going to be released under some free software license (because I didn't want to bother Bert with small feature requests w/o patches). |
|
02-27-2007, 07:40 AM | #28 | |
Evangelist
Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
|
|
02-27-2007, 09:50 AM | #29 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
02-27-2007, 09:55 AM | #30 | |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merge part I & II of downloaded pdf book | swaneelee | Calibre | 4 | 07-01-2010 10:21 PM |
DR800 PDF annotation merge tool? | CoolDragon | iRex | 1 | 06-21-2010 02:56 PM |
Merge feature request (different merge) | Tarran | Calibre | 1 | 05-24-2010 10:57 AM |
Problem with merging scribbles to PDF file | MikeTr | iRex | 2 | 01-15-2010 03:45 AM |
Merging Scribbles with Pdf | jęd | iRex | 15 | 12-20-2006 04:40 AM |