Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1955

[macOS] Fix opened documents retrieval not interating-safe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.4.0
    • Component/s: OS Integration
    • Environment:
      macOS

      Description

      Issue

      Sentry Issue: NUXEO-DRIVE-ZN

      IndexError: NSRangeException - *** -[NSArray getObjects:range:]: range {32, 2} extends beyond bounds [0 .. 32]
        File "nxdrive/autolocker.py", line 66, in _poll
        File "nxdrive/autolocker.py", line 81, in _process
        File "nxdrive/autolocker.py", line 163, in get_open_files
        File "nxdrive/osi/darwin/files.py", line 75, in get_other_opened_files
        File "nxdrive/osi/darwin/files.py", line 58, in _get_opened_files_adobe_cc
        File "site-packages/objc/_convenience.py", line 129, in <lambda>
      

      Analysis

      This happens while iterating over opened documents and the user closes one or more of them.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.