martinweiler opened a new pull request, #4129:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4129

   Using the JDK built-in TransformerFactory instead of Saxon avoids issues 
when running in native mode:
   ```
   java.lang.InstantiationException: net.sf.saxon.Configuration
        at java.base@23/java.lang.Class.newInstance(DynamicHub.java:798)
        at net.sf.saxon.Configuration.newConfiguration(Configuration.java:250)
        at net.sf.saxon.s9api.Processor.<init>(Processor.java:83)
        at 
net.sf.saxon.jaxp.SaxonTransformerFactory.<init>(SaxonTransformerFactory.java:59)
        at 
net.sf.saxon.TransformerFactoryImpl.<init>(TransformerFactoryImpl.java:42)
        at 
java.base@23/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:501)
        at 
java.base@23/java.lang.reflect.Constructor.newInstance(Constructor.java:485)
        at 
java.base@23/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:785)
        at 
java.base@23/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:725)
        at java.base@23/java.util.ServiceLoader$3.next(ServiceLoader.java:1397)
        at 
java.xml@23/javax.xml.transform.FactoryFinder$1.run(FactoryFinder.java:242)
        at 
java.base@23/java.security.AccessController.executePrivileged(AccessController.java:132)
        at 
java.base@23/java.security.AccessController.doPrivileged(AccessController.java:319)
        at 
java.xml@23/javax.xml.transform.FactoryFinder.findServiceProvider(FactoryFinder.java:237)
        at 
java.xml@23/javax.xml.transform.FactoryFinder.find(FactoryFinder.java:212)
        at 
java.xml@23/javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:86)
        at 
org.kie.kogito.svg.processor.AbstractSVGProcessor.<init>(AbstractSVGProcessor.java:43)
        at 
org.kie.kogito.svg.processor.DefaultSVGProcessor.<init>(DefaultSVGProcessor.java:42)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to