Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-675

NullPointerException at AbstractFileObject.java:221

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 1.0
    • Labels:
      None

      Description

      I am seeing random instance in my app's tests of:

      java.lang.NullPointerException
          at org.apache.commons.vfs2.provider.AbstractFileObject.close(AbstractFileObject.java:221)
      

      I can only attribute this to multiple threads closing the same file object.
      I will add a sync block.

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary Gregory
              Reporter:
              ggregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: