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

(mount/start nil) throws the craziest errors (hard to debug) #129

Open
boxxxie opened this issue Apr 28, 2023 · 0 comments
Open

(mount/start nil) throws the craziest errors (hard to debug) #129

boxxxie opened this issue Apr 28, 2023 · 0 comments

Comments

@boxxxie
Copy link

boxxxie commented Apr 28, 2023

i get JVM level errors when (mount/start nil) is called

Execution error (StringIndexOutOfBoundsException) at jdk.internal.util.Preconditions$1/apply (Preconditions.java:55). Index 0 out of bounds for length 0

i thought that it would be ok to call it that way because it usually takes in a set, and nil is the empty set. i don't think that it's important for mount to work with nil, but i think it should throw an error...

{:pre (not-empty states)} would be good enough to avoid the super low level errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant