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

windows shell problem on quarkus dev #40881

Open
taricu opened this issue May 29, 2024 · 8 comments
Open

windows shell problem on quarkus dev #40881

taricu opened this issue May 29, 2024 · 8 comments
Labels
area/devmode env/windows Impacts Windows machines kind/bug Something isn't working

Comments

@taricu
Copy link

taricu commented May 29, 2024

Describe the bug

Tests paused
Press [e] to edit command line args (currently ''), [r] to resume testing, [o] Toggle test output, [:] for the terminal, [h] for more options>2024-05-29 14:21:22,129 INFO  [org.aes.rea.ter.imp.WinSysTerminal] (WindowsStreamPump) read Windows terminal input error: : java.io.IOException: ReadConsoleInputW failed: Incorrect function.
	at org.fusesource.jansi.internal.Kernel32.readConsoleInputHelper(Kernel32.java:531)
	at org.aesh.readline.terminal.impl.WinSysTerminal.readConsoleInput(WinSysTerminal.java:83)
	at org.aesh.readline.terminal.impl.AbstractWindowsTerminal.pump(AbstractWindowsTerminal.java:311)
	at java.base/java.lang.Thread.run(Thread.java:1570)

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

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

No response

Additional information

No response

@taricu taricu added the kind/bug Something isn't working label May 29, 2024
@quarkus-bot quarkus-bot bot added env/windows Impacts Windows machines triage/needs-triage labels May 29, 2024
@FroMage
Copy link
Member

FroMage commented May 29, 2024

We observed this issue on Windows when launched from IntelliJ's console. It was working fine otherwise, but this kept being logged every few seconds.

@FroMage
Copy link
Member

FroMage commented May 29, 2024

This was when running Quarkus DEV.

@mingcode100
Copy link

I also encountered the same problem. What needs to be supplemented is that I didn't have any issues on another Windows 11 computer.

Intel i5-10500
RTX 4060

@gregmagdits
Copy link

gregmagdits commented Jun 5, 2024

Same issue here, specifically with Windows 10, Intellij 2024.1.2 and Quarkus 3.11.0. I have not found a workaround yet and the issue makes developing quarkus apps on windows+intellij pretty difficult, since the error message floods the logs. The issue is probably in aesh.readline + Jansi dependencies though (versions 2.4 and 2.4.0 respectively). Unfortunately those libraries don't appear to have frequent releases.

@mingcode100
Copy link

I made new progress, switched to jdk 21, and then it was solved....
gnodet/jansi#1

@zelytra
Copy link

zelytra commented Jun 28, 2024

Still have this problem with jdk21, it spam every millisecond for me. That makes intellij unusable.
The only way to "solve" this problem is to run Quarkus by disabling the continous testing in the config file :
quarkus.test.continuous-testing=disabled

@FroMage
Copy link
Member

FroMage commented Jul 1, 2024

Oh, interesting that it would be related to continuous testing :-/

@zelytra
Copy link

zelytra commented Jul 1, 2024

Work also by running dev mode with this command :
quarkus:dev -Dquarkus.console.enabled='false'
Don't know if it can help but just saying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devmode env/windows Impacts Windows machines kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants