Getting error when viewing an empty folder

We're running version 5.8 (recently upgraded) and we get the following error whenever browsing to an empty folder: http://pastebin.com/PMmXvkdr Browsing non-empty folders works just fine, no errors at all. The Administrator's home page also throws this error.

Any help would be greatly appreciated.

Abridged stacktrace:

Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

javax.servlet.ServletException:
/widgets/listing/listing_lock_icon_widget_template.xhtml @4,35 rendered=“#{not empty field}“: Error reading 'lock' on type org.nuxeo.ecm.core.api.impl.DocumentModelImpl
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
… Caused by: org.nuxeo.ecm.core.api.ClientRuntimeException:
org.nuxeo.ecm.core.api.ClientException:
Failed to get lock info on 63e85d5e-e0cb-4a9b-8c2a-bb029b07d9ba
… Caused by: org.nuxeo.ecm.core.storage.StorageException:
Could not select: SELECT owner, created FROM locks WHERE id = ?
… Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
No operations allowed after connection closed.
… Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
… Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2552)
at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3002)
… 172 more

0 votes

0 answers

2297 views

ANSWER