View Single Post
Old 08-30-2011, 08:18 AM   #2
PoP
Happ𝑒 2.7 Hapπ 3.14 day
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 444
Karma: 1643361
Join Date: Dec 2010
Location: ♁ ᴺ₄₅₃₀' ᵂ₇₃₃₇' ₆₀"
Device: K3.₄, PRS-350, SGS3, Rπ, iPad Air
Tried with no luck, what should the <file> parameter be pointing at?

Spoiler:

[root@kindle clipx]# java -jar ClippingsExtractor.jar xyz
java.io.FileNotFoundException: /mnt/us/clipx/xyz (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:105)
at java.io.FileInputStream.<init>(FileInputStream.jav a:65)
at WT.Kindle.Clippings.Utility.fileToString(Utility.j ava:225)
at WT.Kindle.ClippingsExtractor.Main.main(Main.java:1 6)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoa der.main(JarRsrcLoader.java:58)
at sun.misc.CVM.runMain(CVM.java:538)
java.lang.reflect.InvocationTargetException
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoa der.main(JarRsrcLoader.java:58)
at sun.misc.CVM.runMain(CVM.java:538)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Compiled Method)(String.java:1679)
at WT.Kindle.Clippings.Utility.parseClippings(Utility .java:115)
at WT.Kindle.Clippings.Utility.generateBooksList(Util ity.java:131)
at WT.Kindle.Clippings.Utility.generateBooksXML(Utili ty.java:161)
at WT.Kindle.ClippingsExtractor.Main.main(Main.java:1 7)
... 2 more
[root@kindle clipx]#
PoP is offline   Reply With Quote