Skip to content

Get IllegalStateException when putting an object into the BlockingCache #3326

Open
@lingyufei

Description

@lingyufei

Bug report?

  • 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.

Feature request?

MyBatis version

3.5.17

Database vendor and version

Test case or example project

Steps to reproduce

Expected result

Actual result

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions