A way to reproduce "Read lock should be acquired" exception

I'm seeing this exception from time to time even in the latest build. Here's
a simple repro (not sure, however, that the only issue causes all these exceptions):

Try opening a huge project and press Alt-F4 while Re#er is still initializing.
You will get an exception. You may also get a standard message box indicating
that an ObjectDisposedException was thrown.

Seems like your progress indicator form can be closed by this key combination
regardless the operation mode (cancellable or non-cancellable).

Regards,
Maxim.


1 comment
Comment actions Permalink

Hello Maxim,

thank you a lot for this information. I've been able to repeat the exception.
Of course, the progress indicator form should not be closed by the standard
window closing key sequence, we'll fix that.

Unfortunately, as you mentioned, this scenario seems to be rare and I think
it
covers only a small set of cases when users get the exception about read
lock.
More sources are yet to be determined.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I'm seeing this exception from time to time even in the latest build.
Here's a simple repro (not sure, however, that the only issue causes
all these exceptions):

Try opening a huge project and press Alt-F4 while Re#er is still
initializing. You will get an exception. You may also get a standard
message box indicating that an ObjectDisposedException was thrown.

Seems like your progress indicator form can be closed by this key
combination regardless the operation mode (cancellable or
non-cancellable).

Regards,
Maxim.



0

Please sign in to leave a comment.