SQLStreamStore icon indicating copy to clipboard operation
SQLStreamStore copied to clipboard

NullReferenceException When Reading from All

Open thefringeninja opened this issue 6 years ago • 5 comments

Got an NRE on line ~296~ 292 of InMemoryStreamStore. Restarting the build has made the build disappear and I don't have the stacktrace :(

thefringeninja avatar Oct 30 '18 23:10 thefringeninja

So.. how to repro? 😄

damianh avatar Nov 01 '18 13:11 damianh

Turn yourself into a container

On Thu, Nov 1, 2018, 15:27 Damian Hickey <[email protected] wrote:

So.. how to repro? 😄

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SQLStreamStore/SQLStreamStore/issues/206#issuecomment-435035500, or mute the thread https://github.com/notifications/unsubscribe-auth/AAePh-QvvyXSe6mT-Umi7RovyPXqjXPZks5uqwSFgaJpZM4YDDKg .

thefringeninja avatar Nov 01 '18 14:11 thefringeninja

Sounds like a race ...

yreynhout avatar Nov 02 '18 07:11 yreynhout

I think I know what's going on... there must be a race between https://github.com/SQLStreamStore/SQLStreamStore/blob/master/src/SqlStreamStore/InMemory/InMemoryStreamStore.cs#L286 and https://github.com/SQLStreamStore/SQLStreamStore/blob/master/src/SqlStreamStore/InMemory/InMemoryStreamStore.cs#L293

thefringeninja avatar Nov 02 '18 09:11 thefringeninja

Removing from milestone pending further repro

damianh avatar Dec 03 '18 21:12 damianh