Fatal error returned on DITA Map PDF - based on HTML5 & CSS

mjlorenzi
Posts: 12
Joined: Thu Jul 11, 2019 12:29 am

Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by mjlorenzi » Mon Jan 20, 2020 11:37 pm

I am trying to publish a ditamap to PDF using the DITA Map PDF - based on HTML5 & CSS.
I tried with another ditamap and it was successful, but with the one I am trying now I get the following fatal error:

Description:
Transformation failed. ...AppData\Local\Oxygen XML Author 21\frameworks\dita\DITA-OT3.x\plugins\com.oxygenxml.pdf.css\build.xml:611: Java returned: 1
Here is the message from line 611:

Code: Select all

<java fork="true" failonerror="true" logerror="true" classname="com.oxygenxml.chemistry.OxygenPDFChemistry" unless:set="skip.pdf">
There is also an error message from line 533:

Code: Select all

	 <antcall target="pdf-css.chemistry.embedded"/>
I am not sure what the issues is here. Does it have to do with my Oxygen PDF Chemistry?

Costin
Posts: 711
Joined: Mon Dec 05, 2011 6:04 pm

Re: Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by Costin » Tue Jan 21, 2020 11:34 am

Hello,

Please send us the full transformation log on our official support email address (support@oxygenxml.com).
Also, make sure that you run the scenario on a DITA Map, not on a CSS / XML file.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

mjlorenzi
Posts: 12
Joined: Thu Jul 11, 2019 12:29 am

Re: Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by mjlorenzi » Tue Jan 21, 2020 9:42 pm

Hi there,
I will send you whatever you need. Is the transformation log saved out as a file, or is it just found in the build console? If there is a log file, where do I find this?
Thanks.

Costin
Posts: 711
Joined: Mon Dec 05, 2011 6:04 pm

Re: Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by Costin » Wed Jan 22, 2020 10:19 am

No, it's the console log.
If you run the transformation scenario from inside one of the oXygen GUI products (Editor/Author), you obtain the transformation error log also in oXygen, in a dedicated view at the bottom.
Otherwise, if you run the transformation from command line, you should have the log in the console.

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support

april_m
Posts: 11
Joined: Mon Oct 21, 2019 10:55 pm

Re: Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by april_m » Wed Feb 26, 2020 8:39 pm

Hello, I am just replying to this thread as I am having a similar issue to the OP. I wonder if it is a problem with DITA-OT following the update to Oxygen 22.0? It is only occurring with one map, the rest of my maps (and my coworker's maps) are rendering fine.

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

Re: Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by julien_lacour » Thu Feb 27, 2020 9:41 am

Hello,

The original problem here was related to the usage of <flowRoot> elements inside SVG files (created with Inkscape).
If you have the same issue a solution consists in modifying the svg declared version in the file:

Code: Select all

<svg version="1.2"
	...
The default version is "1.1".

If you have another issue please send us the complete console output (Options > Preferences > DITA > Logging / set Show console output to Always) at support@oxygenxml.com.

Regards,
Julien

april_m
Posts: 11
Joined: Mon Oct 21, 2019 10:55 pm

Re: Fatal error returned on DITA Map PDF - based on HTML5 & CSS

Post by april_m » Fri Feb 28, 2020 3:18 pm

Thank you for the reply.

I'm not sure what I changed, but the build was successful today.

I will email support if the error occurs again.

Post Reply