Changeset 1349 for trunk


Ignore:
Timestamp:
05/06/19 10:11:20 (5 years ago)
Author:
bln4
Message:

Updated comment explaining how FrameIO.CreateFrameset can return null due to being unable to frameset directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/FrameIO.java

    r1343 r1349  
    17461746                // If the directory doesnt already exist then create it...
    17471747                if (!dir.exists()) {
    1748                         // If the directory couldnt be created, then there is something
    1749                         // wrong... ie. The disk is full.
    17501748                        if (!dir.mkdirs()) {
     1749                                /*
     1750                                 * If the directory does not exist, but could not be created then there is something wrong.
     1751                                 * Prior to May 2019 the only known reason for this was because the disk could be full.
     1752                                 * Since then, we have discovered that null can occur when working with Google file stream.
     1753                                 * A directory can return false to an existence check, but then fail to create the directory
     1754                                 * due to it already existing because of sync issues.  While we have not confirmed, then may
     1755                                 * be the case with other network drives as well.
     1756                                 */
    17511757                                return null;
    17521758                        }
Note: See TracChangeset for help on using the changeset viewer.