-
Notifications
You must be signed in to change notification settings - Fork 214
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
NPE on Windows using "Git for Windows" (MINGW) #387
Comments
When using
Analysis is ongoing! |
Cannot figure it out. Directly after starting mvnd the program hangs. Thread dump is:
There are two places where read from terminal happens and it seems, this is not supported by the PosixSysTerminal. It seems, we need to stick to the dump terminal. |
Same problem here with WSL 1:
|
@Axblu Which @baumato I've been able to reproduce the problem with MINGW. It seems setting the console into raw mode using |
@gnodet Using the Linux binary:
And the following version:
|
I use Git for Windows (https://git-scm.com/download/win). When executing
mvnd --version
nothing happens until I press Enter for the second time. Then the result is:
Since Git for Windows uses MINGW
$ env | grep MSYSTEM
MSYSTEM_CARCH=x86_64
MSYSTEM_CHOST=x86_64-w64-mingw32
MSYSTEM_PREFIX=/mingw64
MSYSTEM=MINGW64
JLine provides a PosixSysTerminal. May this be related?
Update:
When I override the environment variable MSYSTEM, I get following output:
This works, but I cannot enjoy the nice ouput that is usually available.
The text was updated successfully, but these errors were encountered: