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

REPL exits on NPE on tab-complete #430

Closed
nmcb opened this Issue Aug 8, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@nmcb

nmcb commented Aug 8, 2016

Open en type:

> amm
Welcome to the Ammonite Repl 0.7.0
(Scala 2.11.8 Java 1.8.0_92)
@ object X {
    import y
    def y(z: Int)

Then TAB-complete import y, the ammonite REPL will exit with an:

Exception in thread "main" java.lang.NullPointerException
def at ammonite.interp.Pressy$Run.prefixed(Pressy.scala:135)
...

@nmcb nmcb changed the title from REPL crashes on NPE on tab-complete to REPL exits on NPE on tab-complete Aug 8, 2016

@lihaoyi lihaoyi added the bug label Aug 12, 2016

tkroman pushed a commit to tkroman/Ammonite that referenced this issue Sep 23, 2016

tkroman pushed a commit to tkroman/Ammonite that referenced this issue Sep 23, 2016

lihaoyi added a commit that referenced this issue Oct 4, 2016

@tkroman

This comment has been minimized.

Contributor

tkroman commented Oct 8, 2016

@lihaoyi this one may be closed now.

@lihaoyi

This comment has been minimized.

Owner

lihaoyi commented Oct 9, 2016

@tkroman cool, thanks!

@lihaoyi lihaoyi closed this Oct 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment