You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/08/04 17:01:29 UTC
[jira] [Resolved] (SLING-3819) SlingTestBase.blockIfRequested
always throws IllegalMonitorStateException
[ https://issues.apache.org/jira/browse/SLING-3819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu resolved SLING-3819.
------------------------------------
Resolution: Fixed
> SlingTestBase.blockIfRequested always throws IllegalMonitorStateException
> -------------------------------------------------------------------------
>
> Key: SLING-3819
> URL: https://issues.apache.org/jira/browse/SLING-3819
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: org.apache.sling.testing.tools 1.0.10
>
>
> The synchronized block is waiting on the {{this}} object, while locking on the {{slingTestState}} object. The trivial fix is to call wait on the locked {{slingTestState}} object.
--
This message was sent by Atlassian JIRA
(v6.2#6252)