Webhelp fails on Windows with Oxygen v24

Post here questions and problems related to editing and publishing DITA content.
maglid
Posts: 75
Joined: Mon Sep 28, 2009 8:10 am

Webhelp fails on Windows with Oxygen v24

Post by maglid »

I'm on Windows 10 using Oxygen version 24.0. I am using a custom DITA OT v3.5.4 to run Oxygen webhelp. It fails with this error:

Code: Select all

BUILD FAILED
C:\Users\mark\git\synopsys\doc--docs-dita-tools\dita-ot\plugins\org.dita.base\build.xml:29: The following error occurred while executing this line:
C:\Users\mark\git\synopsys\doc--docs-dita-tools\dita-ot\plugins\com.oxygenxml.webhelp.responsive\build_dita.xml:73: java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
But this works with Oxygen v24 on macOS. Is this because of the new Java version in v24?
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: Webhelp fails on Windows with Oxygen v24

Post by Radu »

Hi,

Your Oxygen kit on Windows is bundled with Java 17. The WebHelp plugin in the DITA OT you are running was incompatible with Java 9 or newer. We made it compatible around Oxygen 20.1 but you are using an older DITA OT.
If you look on the downloads page for Oxygen XML Author 24.0 on Windows:
https://www.oxygenxml.com/xml_author/do ... os=Windows

the first download link includes Java 17 but there is another download link further down named "Windows 64-bit (Includes Java SE 8u202)", you should uninstall Oxygen and use that kit with Java 8 instead.

Or of course upgrade the used DITA OT publishing engine and WebHelp plugin to a more recent version.

On Mac OS the same thing works before probably you got the kit which is bundled with Java 8. You can check this in the main menu Help->About->System properties, look for the value of the property "java.version".

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply