Product: PDFTron Server Java SDK + Reflow Module + Structured Output Module
Product Version: 9.2.0 and 9.3.0
Please give a brief summary of your issue:
PDFTron Java Server SDK and it’s modules throw invalid cli argument errors when converting to html
Please describe your issue and provide steps to reproduce it:
- Setup a java project with maven and include the pdftron dependency as described in the tutorials (version 9.2.0 as of writing this).
- Add the reflow and the structured output module
Since they don’t have a version the sha256 hashes are:
Convert.toHtml(String, String, HTMLOutputOptions)
- Observe CLI errors
PDFNet is running in demo mode. Using pdftron version: 9.2.0-91be0af Permission: reflow Exception in thread "main" Exception: Message: Incorrect command line argument(s). Conditional expression: exit_code == 0 Filename : SolidStructuredOutput.cpp Function : DoConvert Linenumber : 689 Error code : 0 at com.pdftron.pdf.Convert.FileToHtml(Native Method) at com.pdftron.pdf.Convert.toHtml(Convert.java:2296)
This worked for a couple of days but then StrucutredOuput module was updated. I didn’t find a way to download an older version of it. In addition there was no new version of the Java SDK released on the maven repository at https://pdftron.com/maven/release .
A particular problem is the inability to access specific versions of the modules.
Please provide a link to a minimal sample where the issue is reproducible: