[ https://issues.apache.org/jira/browse/SSHD-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146179#comment-17146179 ]
Thomas Wolf commented on SSHD-1022: ----------------------------------- I'm not subscribed to the dev mailing list, so I can't reply there, but in any case I can confirm that this bug is indeed fixed in the [staged 2.5.1 release candidate|https://repository.apache.org/content/repositories/orgapachemina-1050]. JGit tests for ssh/sftp transports work with that 2.5.1. > NPE in SftpOutputStreamAsync.flush() > ------------------------------------- > > Key: SSHD-1022 > URL: https://issues.apache.org/jira/browse/SSHD-1022 > Project: MINA SSHD > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Thomas Wolf > Assignee: Lyor Goldstein > Priority: Major > Fix For: 2.5.1 > > > {{SftpOutputStreamAsync.flush()}} sets the internal buffer to {{null}}. Code > invoking {{flush()}} without having written anything since the last flush > will get an NPE. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org