old custom Transformation doesn't work after upgrading Oxygen
Posted: Mon Apr 03, 2023 3:38 pm
Hey,
i recently got the newest Oxygen Author version 25.1. So far I have worked with Oxygen 16.0, accordingly my projects are also written with Oxygen 16.0. Among other things, I want to apply a personalized PDF transformation scenario to my files, but I get an error message here where the build is completely aborted (with the "normal" PDF transformation I only had a few small error messages that could be quickly fixed). So I conclude that my transformation scenario is somehow incompatible with the new version. Since this was created by my predecessor, it is difficult for me to find my way in.
Using google I have read the hint that it could be due to an outdated Java version, here I already use the latest version.
I attach my error message here, maybe someone can help me.
PS.: Sorry if this or something similar has already been posted, i couldn't find it through the search function.
i recently got the newest Oxygen Author version 25.1. So far I have worked with Oxygen 16.0, accordingly my projects are also written with Oxygen 16.0. Among other things, I want to apply a personalized PDF transformation scenario to my files, but I get an error message here where the build is completely aborted (with the "normal" PDF transformation I only had a few small error messages that could be quickly fixed). So I conclude that my transformation scenario is somehow incompatible with the new version. Since this was created by my predecessor, it is difficult for me to find my way in.
Using google I have read the hint that it could be due to an outdated Java version, here I already use the latest version.
I attach my error message here, maybe someone can help me.
Code: Select all
BUILD FAILED
C:\Lokal\Manuals\DITA-OT\build.xml:44: The following error occurred while executing this line:
C:\Lokal\Manuals\DITA-OT\plugins\org.dita.base\build_preprocess.xml:124: java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:file:/C:/Lokal/Manuals/DITA-OT/lib/saxon/saxon9-xpath.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:119)
at org.apache.tools.ant.taskdefs.XSLTProcess.init(XSLTProcess.java:1226)
at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:271)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:427)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:165)
at org.apache.tools.ant.Task.perform(Task.java:349)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.Main.runBuild(Main.java:827)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Caused by: javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:file:/C:/Lokal/Manuals/DITA-OT/lib/saxon/saxon9-xpath.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
at java.xml/javax.xml.xpath.XPathFactoryFinder.findServiceProvider(XPathFactoryFinder.java:349)
at java.xml/javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:212)
at java.xml/javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:137)
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:172)
at java.xml/javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:113)
... 28 more
Caused by: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:file:/C:/Lokal/Manuals/DITA-OT/lib/saxon/saxon9-xpath.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:593)
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:599)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.parseLine(ServiceLoader.java:1147)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.parse(ServiceLoader.java:1177)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1213)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393)
at java.xml/javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:338)
at java.xml/javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:334)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.xml/javax.xml.xpath.XPathFactoryFinder.findServiceProvider(XPathFactoryFinder.java:334)
... 32 more
PS.: Sorry if this or something similar has already been posted, i couldn't find it through the search function.