Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14181

Cannot read property 'filesystemName' of null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: cordova@7.0.0
    • Fix Version/s: None
    • Component/s: cordova-plugin-file
    • Labels:
    • Environment:

      cordova 7.1.0

      Description

      Error in Success callbackId: File1539060614 : TypeError: Cannot read property 'filesystemName' of null
      cordova.js:314 Uncaught TypeError: Cannot read property 'filesystemName' of null

      The `fsRoot` might be null. reproduced with latest cordova on android emulator.

       

      This is the problematic line : https://github.com/apache/cordova-plugin-file/blob/master/www/fileSystems-roots.js#L33

      PR : https://github.com/apache/cordova-plugin-file/pull/235

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jony89 ari
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified