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

NullPointerException at AbstractFileObject.java:221

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 1.0
    • 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

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: