-
Bug
-
Resolution: Done
-
Minor
-
1.32.0
When a Quarkus project is started, there is an error in the console:
---------------------------- --- Help improve Quarkus --- ---------------------------- * Learn more: https://quarkus.io/usage/ * Do you agree to contribute anonymous build time data to the Quarkus community? (y/n and enter) [WARNING] Failed to collect user input for analytics java.util.NoSuchElementException: No line found at java.util.Scanner.nextLine (Scanner.java:1651) at io.quarkus.maven.DevMojo.lambda$execute$0 (DevMojo.java:431) at io.quarkus.analytics.ConfigService.lambda$userAcceptance$0 (ConfigService.java:79) at java.util.concurrent.CompletableFuture$AsyncSupply.run (CompletableFuture.java:1768) at java.util.concurrent.CompletableFuture$AsyncSupply.exec (CompletableFuture.java:1760) at java.util.concurrent.ForkJoinTask.doExec (ForkJoinTask.java:373) at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec (ForkJoinPool.java:1182) at java.util.concurrent.ForkJoinPool.scan (ForkJoinPool.java:1655) at java.util.concurrent.ForkJoinPool.runWorker (ForkJoinPool.java:1622) at java.util.concurrent.ForkJoinWorkerThread.run (ForkJoinWorkerThread.java:165) [info] [Quarkus build analytics] Didn't receive a valid user's answer: `y` or `n`. The question will be asked again next time.
The error does not cause any issues but we should get rid of it.
https://quarkus.io/usage/
Steps to reproduce:
- Create a new project: kn workflow create
- Go inside the project: cd new-project
- Start the project: kn workflow run
- There is the "java.util.NoSuchElementException: No line found" error in the console.