-
Notifications
You must be signed in to change notification settings - Fork 525
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
Paket crashes with Null Ref Exception for MBrace #923
Comments
my bad! I'm working on a fix right now. |
ok cool. this also affects update as well. |
i couldn't find an implementation of 'zip two lists of differing sizes with None extending the shorter one' when I was implementing this. Any ideas where to find one, instead of relying on my hand-rolled implementation? |
can you post a link to the code in paket where you're doing this? |
https://github.com/fsprojects/Paket/blob/master/src/Paket.Core/SemVer.fs#L6 prereleases are compared segment by segment, and if one set of segments is longer than the other, the longer list is greater. |
very odd. I can't seem to repro on my end, Isaac. I'm able to both install and update given the spec you provide. |
I can reproduce. |
Hmmm. Why do we have some people with different outputs here. |
And where is the NRE occurring? |
it's somewhere in the zipopt function, but I haven't been able to make that fail in some local testing I've been doing just now. my guess would be on the List.nth calls? |
I think it's outside of zipopt. |
this is really weird. I can't reproduce after update -f. I added a bit of null checks anyway. Does it help? |
yeah, that's about as far as I got in my tests too. Quite odd all around. |
yeah after thinking about it. will do that now. |
Having a paket.dependencies file with:
Causes the following NRE and full crash with paket 1.19.0.0 (full crash = windows crash dialog appears).
The text was updated successfully, but these errors were encountered: