This happens to all books (various sources) I try to convert:
Code:
C:\LRF\2>java -Xms200M -Xmx300M -jar "c:\LRF\LRFTools.jar" convertLRF "c:\LRF\2" -HTML
Creating test.html...HTML Error:
java.lang.NullPointerException
at java.lang.StringBuffer.<init>(Unknown Source)
at com.lowagie.text.Meta.<init>(Unknown Source)
at com.lowagie.text.Document.addAuthor(Unknown Source)
at lrf.objects.Book.getHTML(Book.java:194)
at lrf.RecurseDirs.dumpToHTML(RecurseDirs.java:376)
at lrf.RecurseDirs.convertAction(RecurseDirs.java:483)
at lrf.RecurseDirs.convertActionParams(RecurseDirs.java:308)
at lrf.RecurseDirs.<init>(RecurseDirs.java:87)
at lrf.RecurseDirs.main(RecurseDirs.java:39)
Test above was done with a
random short book from the download section.
(To avoid any side effects I put it in a path without spaces and changed all names to a simple 8.3 scheme.)
Java version should be the newest 1.6:
Code:
>java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
LRFTools Version: v0.9.183 (same error with 0.9.193, just different line numbers)
OS: Windows XP
There is only one lrf in c:\LRF\2, using "-Xms40M -Xmx60M" or changing the output format doesn't change anything.
Using a non-existent path results in a very similar error ("java.lang.NullPointerException" and last 4 lines exactly the same as above). It does print the Usage info in addition though.
Anything I am doing wrong?