Oxygen XML Editor 18.1 Integrator Fails

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
DaveC
Posts: 18

Oxygen XML Editor 18.1 Integrator Fails

Wed Oct 19, 2016 5:44 pm

Just installed 18.1, copied my custom plugins over, and ran the integrator. I keep getting a build failed with the log below.

Dave C.

~~~~~~~~~~~~~~~~~~~~~~~
Executing:
"c:\program files\oxygen xml editor 18.1\jre/bin/java" -Xmx256m -classpath "C:\Program Files\Oxygen XML Editor 18.1\tools\ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files\Oxygen XML Editor 18.1\tools\ant" org.apache.tools.ant.launch.Launcher -lib "C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\lib\commons-codec-1.4.jar" -lib "C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\lib\dost-patches.jar" -lib "C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\lib\dost.jar" -lib "C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\lib\jsearch.jar" -lib "C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\lib\resolver.jar" -f "C:\Program Files\Oxygen XML Editor 18.1\frameworks/dita/DITA-OT/integrator.xml" "-Dstrict=true" "-Dwebhelp.trial.license=no"

Buildfile: C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\integrator.xml

strict:

integrate:

BUILD FAILED
C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\integrator.xml:59: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Editor 18.1\frameworks\dita\DITA-OT\integrator.xml:49: Could not create type integrate due to java.lang.RuntimeException: Failed to initialize XML parser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
at org.dita.dost.platform.Integrator.<init>(Integrator.java:478)
at org.dita.dost.platform.IntegratorTask.<init>(IntegratorTask.java:31)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:328)
at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:274)
at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:219)
at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:206)
at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:285)
at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:263)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:429)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at org.dita.dost.util.StringUtils.getXMLReader(Unknown Source)
at org.dita.dost.platform.Integrator.<init>(Integrator.java:476)
... 38 more
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.xml.sax.helpers.NewInstance.newInstance(Unknown Source)
... 42 more

Total time: 0 seconds

The process finished with exit code: 1
radu_pisoi
Posts: 328
Location: Craiova

Re: Oxygen XML Editor 18.1 Integrator Fails

Thu Oct 20, 2016 10:17 am

Hi,

I've tried to reproduce your problem by running the default Run DITA OT Integrator transformation scenario. In my case, it is working without any problem.

From the log file, it seems that you are using a modified transformation scenario because the classpath the scenario is modified. The default Run DITA OT Integrator transformation scenario contains more JAR files than yours.

Could you try to use the default Run DITA OT Integrator transformation scenario? Is it working in this this case?
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
DaveC
Posts: 18

Re: Oxygen XML Editor 18.1 Integrator Fails

Thu Oct 20, 2016 3:23 pm

Hi Radu,

I am using the default Run DITA OT Integrator scenario. It works in 18.0, so I am not sure what has changed.

Would it make a difference that I am using the Built-in DITA-OT 1.8 instead of the 2.x?

Thanks,
Dave C.
radu_pisoi
Posts: 328
Location: Craiova

Re: Oxygen XML Editor 18.1 Integrator Fails

Fri Oct 21, 2016 2:55 pm

Hi,

I can reproduce your problem with DITA-OT 1.8. I will add an issue to be fixed in the next maintenance release.

Meanwhile, please duplicate the default scenario, set a new name Run DITA OT Integrator DITA-OT 1.8 and add the xercesImpl.jar file to the process classpath. To modify the process classpath, use the Libraries button and add the oXygenInstallDir/lib/xercesImpl.jar library.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ionela
Posts: 212

Re: Oxygen XML Editor 18.1 Integrator Fails

Fri Jan 13, 2017 5:16 pm

Hello,

Just to update the thread, this problem has been resolved in a maintenance build of Oxygen 18.1.
DITA-OT: The DITA-OT integrator ("Run DITA OT Integrator" transformation) failed, if the default DITA-OT was set to "Built-in DITA-OT 1.8" in Options > Preferences, DITA.

You can download the latest maintenance build from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2016112217

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Let us know if you encounter further problems with this new build.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 3 guests