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

Don't crash when too many content changes are requested.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8.0-HF09, 5.9.3
    • Fix Version/s: 6.0
    • Component/s: CMIS
    • Tags:
    • Sprint:
      Sprint RepoTeam 5.9.5-2

      Description

      In CMIS, when MAX_INT content changes are requested, a crash occurs:

      Caused by: java.lang.IllegalArgumentException: Illegal Capacity: -2147483648
      	at java.util.ArrayList.<init>(ArrayList.java:142)
      	at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.readAuditLog(NuxeoCmisService.java:1308)
      	at org.nuxeo.ecm.core.opencmis.impl.server.NuxeoCmisService.getContentChanges(NuxeoCmisService.java:1270)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified