Page 1 of 1

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

Posted: Mon Jan 20, 2020 11:37 pm
by mjlorenzi
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?

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

Posted: Tue Jan 21, 2020 11:34 am
by Costin
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

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

Posted: Tue Jan 21, 2020 9:42 pm
by mjlorenzi
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.

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

Posted: Wed Jan 22, 2020 10:19 am
by Costin
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

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

Posted: Wed Feb 26, 2020 8:39 pm
by april_m
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.

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

Posted: Thu Feb 27, 2020 9:41 am
by julien_lacour
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

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

Posted: Fri Feb 28, 2020 3:18 pm
by april_m
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.