Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xslt extension not building in native mode #419

Closed
lburgazzoli opened this issue Nov 13, 2019 · 2 comments · Fixed by #422
Closed

xslt extension not building in native mode #419

lburgazzoli opened this issue Nov 13, 2019 · 2 comments · Fixed by #422
Assignees
Labels
bug

Comments

@lburgazzoli
Copy link
Contributor

@lburgazzoli lburgazzoli commented Nov 13, 2019

Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int) is reachable: The declaring class of this element has been substituted, but this element is not present in the substitution class
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:
Trace: 
	at parsing com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader.defineClass(TemplatesImpl.java:185)
Call path from entry point to com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader.defineClass(byte[]): 
	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl$TransletClassLoader.defineClass(TemplatesImpl.java:185)
	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.defineTransletClasses(TemplatesImpl.java:414)
	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:451)
	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:486)
	at org.apache.camel.component.xslt.XsltBuilder.createTransformer(XsltBuilder.java:449)
	at org.apache.camel.component.xslt.XsltBuilder.getTransformer(XsltBuilder.java:443)
	at org.apache.camel.component.xslt.XsltBuilder.process(XsltBuilder.java:103)
	at org.apache.camel.support.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:64)
	at org.apache.camel.processor.Resequencer.processExchange(Resequencer.java:302)
	at org.apache.camel.processor.Resequencer$BatchSender.sendExchanges(Resequencer.java:530)
	at org.apache.camel.processor.Resequencer$BatchSender.run(Resequencer.java:455)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:460)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)

@lburgazzoli lburgazzoli added the bug label Nov 13, 2019
@lburgazzoli

This comment has been minimized.

Copy link
Contributor Author

@lburgazzoli lburgazzoli commented Nov 13, 2019

working on a substitution

lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Nov 13, 2019
lburgazzoli added a commit that referenced this issue Nov 13, 2019
@lburgazzoli lburgazzoli self-assigned this Nov 13, 2019
@davsclaus

This comment has been minimized.

Copy link
Contributor

@davsclaus davsclaus commented Nov 14, 2019

Created a ticket to make the camel-xslt simpler
https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-14176

lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Nov 14, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Nov 14, 2019
lburgazzoli added a commit to lburgazzoli/apache-camel-quarkus that referenced this issue Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.