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

Iterable<T>.keapify() for empty collection results in an exception #8

Open
penemue opened this issue Aug 19, 2019 · 0 comments
Open
Assignees
Labels

Comments

@penemue
Copy link
Owner

penemue commented Aug 19, 2019

java.lang.IllegalArgumentException: null
	at com.github.penemue.keap.PriorityQueue$Companion.getToCapacity(PriorityQueue.kt:429) ~[keap-0.3.0.jar]
	at com.github.penemue.keap.PriorityQueue$Companion.access$getToCapacity$p(PriorityQueue.kt:419) ~[keap-0.3.0.jar]
	at com.github.penemue.keap.PriorityQueue.<init>(PriorityQueue.kt:84) ~[keap-0.3.0.jar]
	at com.github.penemue.keap.PriorityQueue.<init>(PriorityQueue.kt:106) ~[keap-0.3.0.jar]
	at com.github.penemue.keap.PriorityQueueKt.keapify(PriorityQueue.kt:29) ~[keap-0.3.0.jar]
	at com.github.penemue.keap.SortedIterable.iterator(SortedIterable.kt:27) ~[keap-0.3.0.jar]
@penemue penemue self-assigned this Aug 19, 2019
@penemue penemue added the bug label Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant