You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
L320 in DefaultAwsResourceCache can return a cached entry where the deferred value has completed exceptionally. As a result, result.value.await() (L325) throws, is caught by the surrounding block, and is unhandled due to the deferred.value.getCompleted() call on (L329).
Reproducable by doing a cache.getResource() call that throws the first time(successfully bubbles out to callee code), but the second call will trigger the bug
The text was updated successfully, but these errors were encountered:
rli
added
the
bug
We can reproduce the issue and confirmed it is a bug.
label
Mar 11, 2022
aws-toolkit-jetbrains/jetbrains-core/src/software/aws/toolkits/jetbrains/core/AwsResourceCache.kt
Lines 313 to 334 in 5c87fd9
L320 in DefaultAwsResourceCache can return a cached entry where the deferred value has completed exceptionally. As a result,
result.value.await()
(L325) throws, is caught by the surrounding block, and is unhandled due to thedeferred.value.getCompleted()
call on (L329).Reproducable by doing a
cache.getResource()
call that throws the first time(successfully bubbles out to callee code), but the second call will trigger the bugThe text was updated successfully, but these errors were encountered: