[ https://issues.apache.org/jira/browse/STORM-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14875909#comment-14875909 ]
ASF GitHub Bot commented on STORM-1051: --------------------------------------- Github user schonfeld commented on the pull request: https://github.com/apache/storm/pull/742#issuecomment-141500177 Closing in favor of PR #745 > Netty Client.java's flushMessages produces a NullPointerException > ----------------------------------------------------------------- > > Key: STORM-1051 > URL: https://issues.apache.org/jira/browse/STORM-1051 > Project: Apache Storm > Issue Type: Bug > Affects Versions: 0.10.0, 0.9.6 > Reporter: Michael Schonfeld > Assignee: Michael Schonfeld > > STORM-763 replaced `return batch != null && !batch.isEmpty();` with > `if(batch.isEmpty())`... which means that if batch == null, a > NullPointerException is thrown. Problem is, batch is often null, which means > that 763 made Storm unusable... -- This message was sent by Atlassian JIRA (v6.3.4#6332)