Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7731

VCS: fix Collection refresh

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.5
    • Component/s: Core VCS

      Description

      CollectionIO fails to properly refetch a collection. This only happens when a collection has been evicted by the GC.

      StorageException: Could not select: SELECT "POS", "NAME", "GRANT", "PERMISSION", "USER", "GROUP" FROM "ACLS" WHERE "ID" = ? ORDER BY "POS"
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLCollectionProperty.getValue(SQLCollectionProperty.java:71)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSecurityManager.getACP(SQLSecurityManager.java:51)
      	... 37 more
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.storage.StorageException.
      message: Could not select: SELECT "POS", "NAME", "GRANT", "PERMISSION", "USER", "GROUP" FROM "ACLS" WHERE "ID" = ? ORDER BY "POS"
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCRowMapper.readCollectionRowArray(JDBCRowMapper.java:770)
      	at org.nuxeo.ecm.core.storage.sql.CachingRowMapper.readCollectionRowArray(CachingRowMapper.java:388)
      	at org.nuxeo.ecm.core.storage.sql.CollectionFragment.refetch(CollectionFragment.java:78)
      	at org.nuxeo.ecm.core.storage.sql.Fragment.accessed(Fragment.java:229)
      	at org.nuxeo.ecm.core.storage.sql.CollectionFragment.get(CollectionFragment.java:63)
      	at org.nuxeo.ecm.core.storage.sql.CollectionProperty.getValue(CollectionProperty.java:42)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLCollectionProperty.getValue(SQLCollectionProperty.java:64)
      	... 38 more
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.RuntimeException. message: pos
      	at org.nuxeo.ecm.core.storage.sql.jdbc.ACLCollectionIO.getCurrentFromResultSet(ACLCollectionIO.java:61)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.ACLCollectionIO.getCurrentFromResultSet(ACLCollectionIO.java:29)
      	at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCRowMapper.readCollectionRowArray(JDBCRowMapper.java:755)
      	... 44 more
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: