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

Please handle end-of-file gracefully #11

Closed
Ingo60 opened this issue Oct 29, 2014 · 0 comments
Closed

Please handle end-of-file gracefully #11

Ingo60 opened this issue Oct 29, 2014 · 0 comments
Assignees
Labels

Comments

@Ingo60
Copy link
Member

Ingo60 commented Oct 29, 2014

Example session, at prompt enter CTRL-D:

ingo@ibinti:~/repl$ java -jar frege-repl-1.0.3-SNAPSHOT.jar -warn -hints
Welcome to Frege 3.21.500-g88270a0 (Oracle Corporation OpenJDK Server VM, 1.7.0_51)

frege> Exception in thread "main" java.lang.NullPointerException
at frege.repl.FregeRepl$TCommand$M.parse(FregeRepl.java:3092)
at frege.repl.FregeRepl$17.eval(FregeRepl.java:5309)
at frege.repl.FregeRepl$17.eval(FregeRepl.java:5243)
at frege.runtime.Fun1$1.eval(Fun1.java:62)
at frege.runtime.Delayed.call(Delayed.java:198)
at frege.runtime.Delayed.forced(Delayed.java:267)
at frege.repl.FregeRepl$40.eval(FregeRepl.java:6390)
at frege.runtime.Fun1$1.eval(Fun1.java:62)
at frege.runtime.Delayed.call(Delayed.java:198)
at frege.runtime.Delayed.forced(Delayed.java:257)
at frege.repl.FregeRepl$41.eval(FregeRepl.java:6459)
at frege.runtime.Fun1$1.eval(Fun1.java:62)
at frege.runtime.Delayed.call(Delayed.java:198)
at frege.runtime.Runtime.runMain(Runtime.java:225)
at frege.repl.FregeRepl.main(FregeRepl.java:7182)
@mmhelloworld mmhelloworld self-assigned this Oct 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants