[ https://issues.apache.org/jira/browse/SSHD-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146110#comment-17146110 ]
Thomas Wolf commented on SSHD-1022: ----------------------------------- BTW, are there any tests for this? Such as an SFTP upload by code that calls {{flush()}} explicitly after {{write()}}? > 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.6.0 > > > {{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