used org.docx4j.convert.in.Doc to convert an .doc to .docx file, I got an exception here:
Exception in thread "main" java.lang.IllegalArgumentException: The end (17060) must not be before the start (18871)
at org.apache.poi.hwpf.usermodel.Range.sanityCheckStartEnd(Range.java:247)
at org.apache.poi.hwpf.usermodel.Range.<init>(Range.java:181)
at org.apache.poi.hwpf.usermodel.Paragraph.<init>(Paragraph.java:103)
at org.apache.poi.hwpf.usermodel.Range.getParagraph(Range.java:830)
at org.apache.poi.hwpf.usermodel.Range.getTable(Range.java:870)
at org.docx4j.convert.in.Doc.convert(Doc.java:169)
at org.docx4j.convert.in.Doc.convert(Doc.java:61)
at test.TestDoc2Docx.main(TestDoc2Docx.java:14)
I've tried "b2xtranslator", but it's offline and using C#, are there any good ways to convert doc to docx ?
thanks,jason.
KitLiao