Make sure the application does not lag when using a bad internet connection and
checking conversion availability
----------------------------------------------------------------------------------------------------------------
Key: NXP-3275
URL: http://jira.nuxeo.org/browse/NXP-3275
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Affects Versions: 5.2 M4
Reporter: Anahide Tchertchian
Assignee: Thierry Delprat
Fix For: 5.2 RC
What is strange is that the connection check should stay local to the server.
When internet connection is down, it behaves correctly.
Thread eventually times out with the following stack trace:
22:49:22,491 ERROR [ConversionActionBean] Error while testing PDF converter
availability
java.lang.IllegalMonitorStateException
at
java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:125)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1137)
at
java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
at
org.nuxeo.ecm.platform.convert.plugins.JODBasedConverter.releaseLock(JODBasedConverter.java:222)
at
org.nuxeo.ecm.platform.convert.plugins.JODBasedConverter.isConverterAvailable(JODBasedConverter.java:458)
at
org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.isConverterAvailable(ConversionServiceImpl.java:236)
at
org.nuxeo.ecm.webapp.action.ConversionActionBean.getPdfConverterAvailability(ConversionActionBean.java:116)
at
org.nuxeo.ecm.webapp.action.ConversionActionBean.isMimeTypeExportableToPDF(ConversionActionBean.java:132)
at
org.nuxeo.ecm.webapp.action.ConversionActionBean.isExportableToPDF(ConversionActionBean.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets