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
When I create a BlockingCache and try to putObject, I get an error IllegalStateException("Detected an attempt at releasing unacquired lock. This should never happen."); which is caused by the empty lock when releaseLock
To fix a bug, we need to reproduce it first.
And we spend a lot of time just trying to reproduce the reported problem, so please consider creating a failing test case or an example project.
The text was updated successfully, but these errors were encountered:
lingyufei
changed the title
Get IllegalStateException when putting an object into the BlockingCach
Get IllegalStateException when putting an object into the BlockingCache
Dec 23, 2024
BlockingCache (or any of MyBatis' internal cache classes) is not designed to be used in users' code directly.
So, it is not a bug if that is what you are trying to do.
If the exception is thrown in MyBatis' normal usage scenario, we need you to provide an executable demo project or test case.
Here are some project templates and examples : https://github.com/harawata/mybatis-issues
There also are some unit tests for blocking cache in this directory.
Bug report?
putObject
, I get an errorIllegalStateException("Detected an attempt at releasing unacquired lock. This should never happen.");
which is caused by the empty lock whenreleaseLock
To fix a bug, we need to reproduce it first.
And we spend a lot of time just trying to reproduce the reported problem, so please consider creating a failing test case or an example project.
Feature request?
-->
MyBatis version
3.5.17
Database vendor and version
Test case or example project
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: