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

REPL exits on NPE on tab-complete #430

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

REPL exits on NPE on tab-complete #430

nmcb opened this issue Aug 8, 2016 · 2 comments
Labels
bug

Comments

@nmcb
Copy link

@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 REPL crashes on NPE on tab-complete 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
Copy link
Contributor

@tkroman tkroman commented Oct 8, 2016

@lihaoyi this one may be closed now.

@lihaoyi
Copy link
Owner

@lihaoyi 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.