FUTURE POSTS
- Partial writes, IO_Uring and safety - about one day from now
- Configuration values & Escape hatches - 4 days from now
- What happens when a sparse file allocation fails? - 6 days from now
- NTFS has an emergency stash of disk space - 8 days from now
- Challenge: Giving file system developer ulcer - 11 days from now
And 4 more posts are pending...
There are posts all the way to Feb 17, 2025
Comments
have you ever thought about joining Microsoft as a tester? :)
@J - haha - second that!
are you using PeekCompleted? i use this pattern for peeks and reads and it may be why i haven't encountered the set of problems you have.
msdn.microsoft.com/.../...queue.peekcompleted.aspx
shawn,
No, I am using the delegate passed to the async method
If you are going to make a statement like this, then shouldn't you at least show the situation under which the error occurred? From what you have shown us, it is hard to ascertain if your claims are indeed true, or you are doing something wrong and just blaming it on the .net MSMQ apis.
Justin,
Null Reference is almost always a bug.
In this case, I am access the AppSpecific property on a message, and it throws this error.
This is caused because of a bug in certain scenarios in which even though the queue is set to accept AppSpecific, it doesn't
An assert failing in production code means that some invariant somewhere is no longer true, and that the author of the code considered such a situation a bug.
Therefore Oren's statement is valid.
@Ayende Thanks for the clarification. I didn't doubt that it was a bug on their part, I just like seeing what caused them so that I know in the future where the dragons may be.
No, that is actually not an assert that is failing.
The assert is in my code.
The problem is that NRE.
choke JMS.... :-P
@Mr Anonymous
Hey no fair - you stole my handle.
Though context is and always would be helpful (or at least more informative ;) ) I'm with Oren on this one. NRE == bug.
You should stop relying in ObjectDisposedException and not touch an object after disposing it. Think of ObjectDisposedException as a debuging aide.
Comment preview