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

Enumerator.peek throws NullPointerException after the last item (1.7.8) #1299

Closed
aliakb opened this Issue Dec 4, 2013 · 0 comments

Comments

Projects
None yet
3 participants
@aliakb
Copy link

aliakb commented Dec 4, 2013

e = 2.times
e.next
e.next
e.peek

The last statement should throw StopIterationException, but it throws java.lang.NullPointerException instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.