Fatal error while generating pdf-css-html output

Post here questions and problems related to editing and publishing DITA content.
ejsumi
Posts: 11
Joined: Wed Dec 18, 2019 9:20 am

Fatal error while generating pdf-css-html output

Post 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
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

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

Post 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?
julien_lacour
Posts: 481
Joined: Wed Oct 16, 2019 3:47 pm

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

Post 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
Post Reply