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

camel-quarkus-example : dev mode issue #2723

Closed
zbendhiba opened this issue Jun 4, 2021 · 2 comments
Closed

camel-quarkus-example : dev mode issue #2723

zbendhiba opened this issue Jun 4, 2021 · 2 comments
Milestone

Comments

@zbendhiba
Copy link
Contributor

I have an issue on my local machine running examples with dev mode.
Branch : camel-quarkus-main, with camel-quarkus 2.x

Reproducing the error:

  1. Get the file-bindy-ftp example
  2. Run the docker line to setup prerequisites :
    docker run -ti --rm -p 2222:2222 \ -e PASSWORD_ACCESS=true \ -e USER_NAME=ftpuser \ -e USER_PASSWORD=ftppassword \ -e DOCKER_MODS=linuxserver/mods:openssh-server-openssh-client \ linuxserver/openssh-server
  3. Start the dev mode mvn clean compile quarkus:dev

The error is :
[INFO] --- quarkus-maven-plugin:2.0.0.Alpha3:dev (default-cli) @ camel-quarkus-examples-file-bindy-ftp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/zbendhib/dev/camel-quarkus-examples/file-bindy-ftp/src/test/resources [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /home/zbendhib/dev/camel-quarkus-examples/file-bindy-ftp/target/test-classes [WARNING] bootstrap class path not set in conjunction with -source 8 Listening for transport dt_socket at address: 5005 Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.io.InvalidClassException: io.quarkus.deployment.dev.DevModeContext$ModuleInfo; local class incompatible: stream classdesc serialVersionUID = 7401504187889312018, local class serialVersionUID = -6977380306703936042 at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:151) at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:63) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.InvalidClassException: io.quarkus.deployment.dev.DevModeContext$ModuleInfo; local class incompatible: stream classdesc serialVersionUID = 7401504187889312018, local class serialVersionUID = -6977380306703936042 at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:135) at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:89) at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:145) ... 1 more Caused by: java.lang.RuntimeException: java.io.InvalidClassException: io.quarkus.deployment.dev.DevModeContext$ModuleInfo; local class incompatible: stream classdesc serialVersionUID = 7401504187889312018, local class serialVersionUID = -6977380306703936042 at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:436) at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:58) at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:132) ... 3 more Caused by: java.io.InvalidClassException: io.quarkus.deployment.dev.DevModeContext$ModuleInfo; local class incompatible: stream classdesc serialVersionUID = 7401504187889312018, local class serialVersionUID = -6977380306703936042 at java.base/java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:689) at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:2012) at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1862) at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2169) at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679) at java.base/java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2464) at java.base/java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2358) at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2196) at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1679) at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:493) at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:451) at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:362) ... 5 more

@jamesnetherton
Copy link
Contributor

This works ok for me on camel-quarkus-main with Quarkus 2 CR2 / CR3.

@zbendhiba
Copy link
Contributor Author

@jamesnetherton thanks !!
works fine too for me.

@ppalaga ppalaga added this to the 2.0.0-M2 milestone Jun 9, 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

3 participants