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

timer-log-main example: The example is not working in dev mode #2024

Closed
aldettinger opened this issue Nov 24, 2020 · 3 comments
Closed

timer-log-main example: The example is not working in dev mode #2024

aldettinger opened this issue Nov 24, 2020 · 3 comments
Assignees
Milestone

Comments

@aldettinger
Copy link
Contributor

Especially, the step Start in the Development mode propose to execute the command below:
mvn clean compile quarkus:dev -Dquarkus.args='Hello 2'

However, an ERROR log is produced:

2020-11-24 13:37:04,373 ERROR [io.qua.run.boo.StartupActionImpl] (Quarkus Main Thread) Error running Quarkus: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at io.quarkus.runner.bootstrap.StartupActionImpl$3.run(StartupActionImpl.java:134)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalStateException: Expected at least two CLI arguments
	at org.acme.timer.Main.main(Main.java:47)
	... 6 more

2020-11-24 13:37:04,414 INFO  [io.qua.dep.dev.IsolatedDevModeMain] (main) Attempting to start hot replacement endpoint to recover from previous Quarkus startup failure
@aldettinger aldettinger self-assigned this Nov 24, 2020
@aldettinger
Copy link
Contributor Author

Opened an upstream quarkus issue #13451.

@aldettinger
Copy link
Contributor Author

This is a quarkus regression, it's fixed with quarkus >= 1.10.2.Final.

@aldettinger
Copy link
Contributor Author

Fixed in apache/camel-quarkus-examples@762260f.

@aldettinger aldettinger added this to the 1.5.0 milestone Dec 1, 2020
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

1 participant