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

[Update to Quarkus 2.1.1.Final] Throw java.io.IOException when press 'w' in DevConsole #19290

Closed
yuhaibohotmail opened this issue Aug 8, 2021 · 0 comments · Fixed by #19358
Closed
Labels
env/windows Impacts Windows machines kind/bug Something isn't working
Milestone

Comments

@yuhaibohotmail
Copy link

Describe the bug

2021-08-08 18:16:24,594 ERROR [io.qua.ver.htt.dep.dev.con.DevConsoleProcessor] (Aesh InputStream Reader) Failed to launch browser: java.io.IOException: Cannot run program "rundll32 url.dll,FileProtocolHandler": CreateProcess error=2
, 系统找不到指定的文件。
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
        at java.base/java.lang.Runtime.exec(Runtime.java:589)
        at java.base/java.lang.Runtime.exec(Runtime.java:448)
        at io.quarkus.vertx.http.deployment.devmode.console.DevConsoleProcessor.openBrowser(DevConsoleProcessor.java:457)
        at io.quarkus.vertx.http.deployment.devmode.console.DevConsoleProcessor.lambda$setupConsole$1(DevConsoleProcessor.java:427)
        at io.quarkus.deployment.console.ConsoleStateManager$1.accept(ConsoleStateManager.java:73)
        at io.quarkus.deployment.console.ConsoleStateManager$1.accept(ConsoleStateManager.java:46)
        at io.quarkus.deployment.console.AeshConsole.lambda$setup$1(AeshConsole.java:199)
        at org.aesh.terminal.EventDecoder.accept(EventDecoder.java:118)
        at org.aesh.terminal.EventDecoder.accept(EventDecoder.java:31)
        at org.aesh.terminal.io.Decoder.write(Decoder.java:133)
        at org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:216)
        at org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:203)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.IOException: CreateProcess error=2, 系统找不到指定的文件。
        at java.base/java.lang.ProcessImpl.create(Native Method)
        at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:478)
        at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
        ... 16 more

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

Microsoft Windows [ 10.0.19043.1110]

Output of java -version

java version "11.0.7" 2020-04-14 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)

GraalVM version (if different from Java)

No response

Quarkus version or git rev

2.1.1.Final

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@yuhaibohotmail yuhaibohotmail added the kind/bug Something isn't working label Aug 8, 2021
@quarkus-bot quarkus-bot bot added env/windows Impacts Windows machines triage/needs-triage labels Aug 8, 2021
@quarkus-bot quarkus-bot bot added this to the 2.2 - main milestone Aug 12, 2021
@gsmet gsmet modified the milestones: 2.2 - main, 2.1.3.Final Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env/windows Impacts Windows machines kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants