Page 1 of 1

Fatal error while generating pdf-css-html output

Posted: Fri Mar 12, 2021 5:05 pm
by ejsumi
Hi,

We are encountering the below error while generating pdf output
Can you please help to resolve the error?

Code: Select all

System ID: XXX.ditamap
Scenario: DITA Map PDF - based on HTML5 & CSS
Input file: D:\Content_MiscWork\DITA\Manuals\YYYY\XXX.ditamap
Engine name: DITA-OT
Severity: fatal
Description: Transformation failed. C:\Users\sss\AppData\Local\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\com.oxygenxml.pdf.css\build.xml:603: Java returned: 1

System ID: C:\Users\sss.j\AppData\Local\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\build.xml
Scenario: DITA Map PDF - based on HTML5 & CSS
Engine name: DITA-OT
Severity: error
Description: The following error occurred while executing this line:
Start location: 46:0

System ID: C:\Users\sss.j\AppData\Local\Oxygen XML Editor 21\frameworks\dita\DITA-OT3.x\plugins\com.oxygenxml.pdf.css\build.xml
Scenario: DITA Map PDF - based on HTML5 & CSS
Engine name: DITA-OT
Severity: error
Description: Java returned: 1
Start location: 603:0

Re: Fatal error while generating pdf-css-html output

Posted: Fri Mar 12, 2021 11:01 pm
by chrispitude
Hi ejsumi,

The "Java returned: 1" message is just the final failure message. Can you look at the full log file, look upstream from that to find the first instance of an error message where it seems like things fell apart, then post that part of the log?

Re: Fatal error while generating pdf-css-html output

Posted: Mon Mar 15, 2021 10:37 am
by julien_lacour
Hello,

Chris is right, "Java returned: 1" just means Oxygen PDF Chemistry did not finish the transformation correctly.
When the transformation fails, two tabs are displayed in the bottom part of Oxygen: one containing Errors and Warnings (this is the one you got the messages from) and one containing the transformation log.
For further analysis, I will need this transformation console log. Could you send it at support@oxygenxml.com?

Regards,
Julien