chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <>
Subject [jira] [Commented] (CMIS-976) It occurs in several actions of the CMIS the error from writeUnlock (java.lang.IllegalMonitorStateException)
Date Fri, 15 Apr 2016 14:29:25 GMT


Florian Müller commented on CMIS-976:

It's rather difficult to find the cause if it is not reproducible. I have never seen this

Two general comments:
* Use the Browser binding if you can. It's faster.
* You seem not reuse Session objects. Please do so if it makes sense in your application.
You may save quite a few calls to the repository.

> It occurs in several actions of the CMIS the error from writeUnlock (java.lang.IllegalMonitorStateException)
> ------------------------------------------------------------------------------------------------------------
>                 Key: CMIS-976
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.13.0
>         Environment: Application web Java run  in JBOSS EAP 6.4.2.GA.
> ECM Alfresco Enterprise v4.2.5
>            Reporter: Fagner Souza
> It occurs in several actions of the CMIS the error below, I believe that occurs after
creating folder on a cutomizado model and setted / changed value of an attribute.
> The error does not always happen, not yet identified the time that happens, it appears
in various situations.
> ERROR [-] [...]) null: java.lang.IllegalMonitorStateException
> 	at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(
> 	at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(
> 	at org.apache.chemistry.opencmis.client.bindings.cache.impl.CacheImpl.writeUnlock(
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.LinkCache.unlockTypeLinks(
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.unlockTypeLinks(
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getTypeDefinitionInternal(
> 	at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getTypeDefinition(
> 	at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getTypeDefinition(
> 	at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getTypeDefinition(
> 	at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getTypeDefinition(
> 	at org.apache.chemistry.opencmis.client.runtime.repository.ObjectFactoryImpl.getTypeFromObjectData(
> 	at org.apache.chemistry.opencmis.client.runtime.repository.ObjectFactoryImpl.convertObject(
> 	at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(
> 	at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(
> 	at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getObject(

This message was sent by Atlassian JIRA

View raw message