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

Ctrl+D on REPL provokes exception #318

Open
gciatto opened this issue May 12, 2022 · 0 comments
Open

Ctrl+D on REPL provokes exception #318

gciatto opened this issue May 12, 2022 · 0 comments
Labels
bug Something isn't working module::repl

Comments

@gciatto
Copy link
Contributor

gciatto commented May 12, 2022

Exception in thread "main" it.unibo.tuprolog.ui.repl.NullInputException: The standard input has been close unexpectedly
	at it.unibo.tuprolog.ui.repl.TuPrologUtils.readQuery(TuPrologUtils.kt:55)
	at it.unibo.tuprolog.ui.repl.TuPrologCmd.readEvalPrintLoop(TuPrologCmd.kt:101)
	at it.unibo.tuprolog.ui.repl.TuPrologCmd.run(TuPrologCmd.kt:59)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:170)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:16)
	at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:258)
	at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:255)
	at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:273)
	at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:298)
	at it.unibo.tuprolog.ui.repl.Main.main(Main.kt:8)
@gciatto gciatto added bug Something isn't working module::repl labels May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working module::repl
Projects
None yet
Development

No branches or pull requests

1 participant