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
Closed

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

aliakb opened this issue Dec 4, 2013 · 0 comments
Milestone

Comments

@aliakb
Copy link

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

Successfully merging a pull request may close this issue.

None yet
3 participants