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

NullPointerException performing input from /dev/null #151

Closed
FrBrGeorge opened this issue Feb 17, 2022 · 0 comments
Closed

NullPointerException performing input from /dev/null #151

FrBrGeorge opened this issue Feb 17, 2022 · 0 comments

Comments

@FrBrGeorge
Copy link

FrBrGeorge commented Feb 17, 2022

When running something like

li a7, 12
ecall

in this manner:
rars nc this_program.s < /dev/null
got Exception in thread "main" java.lang.NullPointerException

The problem is here: .readLine() just returns null.

#150 is simple fix to the problem.

@FrBrGeorge FrBrGeorge changed the title NullPointerException performing input froim /dev/null NullPointerException performing input from /dev/null Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants