apache / apache/maven-mvnd

Using mvnd installed in WIN10 and run it in a git shell window, it will blocked, after a enter key pressed, got a null exception!

Open
#586 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.5k
Forks
250
Avg merge
16h 22m
Merged PRs (30d)
36

Description

I download mvnd-0.7.1-windows-amd64 into my WIN10 computer, and running mvnd in a git shell window, it blocked, after enter pressed, a null pointer exception throws out, and then the cmd works out.
Stacks below:
$ mvnd --version
Exception in thread "Thread-0" java.lang.NullPointerException
at org.mvndaemon.mvnd.common.logging.TerminalOutput.readInputLoop(TerminalOutput.java:477)
at java.lang.Thread.run(Thread.java:833)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:596)
at com.oracle.svm.core.windows.WindowsJavaThreads.osThreadStartRoutine(WindowsJavaThreads.java:138)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with TerminalOutput.readInputLoop at line 477 and reproduce mvnd --version in a Git shell window on Windows 10. Trace the null pointer exception that appears after pressing Enter, then verify that the command completes without the exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.