Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.5.4, 1.6.0
    • Component/s: kernel
    • Labels:
      None

      Description

      In TempFileManager, in the static initialization block, if tmpFiles is set to NULL because tmpDir.listFiles() returns NULL (eg. tmpDir does not exist), then a NPE occurs in the following for loop on line 191.

        Activity

        Hide
        Myles Bunbury added a comment -

        Also of note, back in v1.4.1, if the necessary directories did not exist, they were created by Utils.createTempFile(String, InputStream, File). In v1.5.2, this automatic directory creation no longer occurs.

        Should it?

        Show
        Myles Bunbury added a comment - Also of note, back in v1.4.1, if the necessary directories did not exist, they were created by Utils.createTempFile(String, InputStream, File). In v1.5.2, this automatic directory creation no longer occurs. Should it?
        Hide
        Andreas Veithen added a comment -

        On the trunk, this was actually fixed by Amila in r729037. I'm going to merge this to the 1.5 branch as well.

        Show
        Andreas Veithen added a comment - On the trunk, this was actually fixed by Amila in r729037. I'm going to merge this to the 1.5 branch as well.
        Hide
        Andreas Veithen added a comment -

        Merged to the 1.5 branch by r1042467.

        Show
        Andreas Veithen added a comment - Merged to the 1.5 branch by r1042467.

          People

          • Assignee:
            Andreas Veithen
            Reporter:
            Myles Bunbury
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development