sdedic commented on issue #6255:
URL: https://github.com/apache/netbeans/issues/6255#issuecomment-1687790828
It happens on my system all the time:
```
sdedic@sdedic-nb4:/tmp/systemerr$ ./gradlew run
> Task :app:run FAILED
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true -Dsun.java2d.opengl=true -Dsun.awt.disableGrab=true
Would you like to start? (y/n) Exception in thread "main"
java.util.NoSuchElementException: No line found
at java.base/java.util.Scanner.nextLine(Scanner.java:1651)
at systemerr.App.main(App.java:16)
FAILURE: Build failed with an exception.
```
But this is a behaviour of `gradle` build system as such, not NetBeans. You
need to bind the process' stdin to system in in your `build.gradle` file; for
some weird reason, the default is an empty stream:
```
run {
standardInput = System.in
}
```
For more details see
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.JavaExec.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists