-
Notifications
You must be signed in to change notification settings - Fork 202
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
Reading input from application doesn't work #882
Comments
Caused by facebook/nailgun, ticket here. The issue is nailgun only reads line by line, and This kind of applications will work when the client is a BSP client (e.g. when Metals supports running applications, it will work). I have to close this ticket as wont fix since it needs a fix upstream. To work around this issue, I recommend replacing |
|
I'm also having issues with this. Any possible solutions? |
This is an important issue I intend to fix soon. In the meanwhile, you should be able to run the application via Metals in VS Code. Metals can run application reliably because it uses DAP instead of Nailgun, and DAP allows for fine-grained user input to be transmitted over the wire. |
Hi, bloop v1.4.8, JDK 15:
|
I have a clean MacOS install with
|
This seems to be an issued with JDK 16, could you try with JDK 11? I think we fixed it in master, but will need to confirm. Anyway, I don't think this is related to current issue. |
I ran into the same issue, reading input from stdin is not working when running apps via |
To reproduce, create a simple app such as:
When run and supply numbers (1, 2) you get the following unexpected error:
[E] Exception in thread "main" java.lang.NumberFormatException: For input string: "2"
[E] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
The same does not occur if running with sbt.
(p.s. Loving Bloop)
The text was updated successfully, but these errors were encountered: