Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-317

UnsupportedOperationException uploading file Java 7/Windows

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None

    Description

      Hi,
      I'm still seeing errors with windows/Java 7 when uploading files. It appears to be properly using NativeSshFile, but that causes errors when setting attributes. (v 0.11).

      I commented on ticket SSHD-257, but since that's closed I'm opening a new one.

      10:10:02.221 [Thread-7] ERROR o.a.sshd.server.sftp.SftpSubsystem - Exception caught in SFTP subsystem
      java.lang.UnsupportedOperationException: null
      at org.apache.sshd.common.file.nativefs.NativeSshFile.setAttributes(NativeSshFile.java:644) ~[sshd-core-0.11.0.jar:0.11.0]
      at org.apache.sshd.server.sftp.SftpSubsystem.process(SftpSubsystem.java:427) ~[sshd-core-0.11.0.jar:0.11.0]
      at org.apache.sshd.server.sftp.SftpSubsystem.run(SftpSubsystem.java:334) ~[sshd-core-0.11.0.jar:0.11.0]
      at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
      

      Attachments

        Activity

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

          People

            gnodet Guillaume Nodet
            wglass William Glass-Husain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment