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

warning about not closed OperationProviders when calling DefaultFilesystemManager.close

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.1

    Description

      I see a warning on application shutdown.

      WARN : DefaultFilesystemManager.close: not all components are closed: [com.intridea.io.vfs.provider.s3.operations.S3FileOperationsProvider@30b544a5]
      

      I am using common-vfs2 version 2.1.1660580.1 and an s3 provider is on the classpath that defines a OperationProvider implementation.

      looking at the code seems that operation providers are added in components collection on setup, but closeCompoent is not invoked for operation providers on close().

      Attachments

        1. vfs-closeop.diff
          2 kB
          Bernd Eckenfels

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            b.eckenfels Bernd Eckenfels
            tsachev Vladimir Tsanev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment