Fatal error while generating pdf-css-html output

ejsumi
Posts: 7
Joined: Wed Dec 18, 2019 9:20 am

Fatal error while generating pdf-css-html output

Post by ejsumi » Fri Mar 12, 2021 5:05 pm

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

chrispitude
Posts: 324
Joined: Thu May 02, 2019 2:32 pm

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

Post by chrispitude » Fri Mar 12, 2021 11:01 pm

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?

julien_lacour
Posts: 174
Joined: Wed Oct 16, 2019 3:47 pm

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

Post by julien_lacour » Mon Mar 15, 2021 10:37 am

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

Post Reply