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

Dev mode does not work on Java 12 #289

Closed
ppalaga opened this issue Oct 18, 2019 · 8 comments
Closed

Dev mode does not work on Java 12 #289

ppalaga opened this issue Oct 18, 2019 · 8 comments

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Oct 18, 2019

Just got a report over a private channel that this demo https://github.com/ppalaga/camel-quarkus-cnorris-demo does not work on some unspecified Java version that is greater than 8. Asked for details, but do not have a reply yet.

Regardless of this specific issue, we should test regularly on Java 11.

	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement
	at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:139)
	at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:126)
	at com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule.setupModule(JaxbAnnotationModule.java:90)
	at com.fasterxml.jackson.databind.ObjectMapper.registerModule(ObjectMapper.java:751)
	at org.apache.camel.component.jackson.converter.JacksonTypeConverters.<init>(JacksonTypeConverters.java:57)
	at org.apache.camel.component.jackson.converter.JacksonTypeConvertersLoader.getJacksonTypeConverters(JacksonTypeConvertersLoader.java:38)
	at org.apache.camel.component.jackson.converter.JacksonTypeConvertersLoader.lambda$registerFallbackConverters$0(JacksonTypeConvertersLoader.java:28)
	at org.apache.camel.support.SimpleTypeConverter.convertTo(SimpleTypeConverter.java:99)
	at org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:301)
	at org.apache.camel.impl.converter.BaseTypeConverterRegistry.doConvertTo(BaseTypeConverterRegistry.java:158)
	at org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTypeConverterRegistry.java:125)
	at org.apache.camel.support.DefaultMessage.getHeader(DefaultMessage.java:94)
	at org.apache.camel.component.netty.http.NettyHttpHelper.createMethod(NettyHttpHelper.java:106)
	at org.apache.camel.component.netty.http.DefaultNettyHttpBinding.toNettyRequest(DefaultNettyHttpBinding.java:643)
	at org.apache.camel.component.netty.http.NettyHttpProducer.getRequestBody(NettyHttpProducer.java:68)
	at org.apache.camel.component.netty.NettyProducer.process(NettyProducer.java:201)
	at org.apache.camel.component.netty.http.NettyHttpProducer.process(NettyHttpProducer.java:57)
	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:134)
	... 28 more
@lburgazzoli
Copy link
Contributor

note that graalvm does not support java 11 yet

@ppalaga
Copy link
Contributor Author

ppalaga commented Oct 19, 2019

Yes, I know. The reported failures were in the JVM mode and perhaps even in the dev mode.

@ppalaga
Copy link
Contributor Author

ppalaga commented Oct 20, 2019

The above stack trace happened with OpenJDK 12. I'll try to reproduce with 11.

@ppalaga
Copy link
Contributor Author

ppalaga commented Oct 20, 2019

note that graalvm does not support java 11 yet

To put it more clearly: as long as GraalVM is on Java 8, we should run at least the JVM mode tests on Java 11 on the CI.

@lburgazzoli
Copy link
Contributor

We have not a GitHub Action that builds the project in JVM mode against Java 11

@ppalaga
Copy link
Contributor Author

ppalaga commented Nov 4, 2019

Because the CI is apparently passing on Java 11, let's narrow the scope of this issue to the originally reported problem.

@ppalaga ppalaga changed the title Run CI with Java 11 Dev mode does not work on Java 12 Nov 4, 2019
@ppalaga
Copy link
Contributor Author

ppalaga commented Nov 27, 2019

There is a related issue for dev mode with Java 13 on Windows quarkusio/quarkus#5359

@lburgazzoli
Copy link
Contributor

We now build on Java 12 too and we have a test for dev mode so I think we can close this issue

@ppalaga ppalaga closed this as completed Jan 6, 2020
@ppalaga ppalaga added this to the No fix/wont't fix milestone Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants