You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2015/09/21 00:08:04 UTC

[jira] [Resolved] (STORM-1051) Netty Client.java's flushMessages produces a NullPointerException

     [ https://issues.apache.org/jira/browse/STORM-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jungtaek Lim resolved STORM-1051.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.6

Thanks [~BaconSeason] for fixing serious bug. Great work!
I merged into master, 0.10.x, 0.9.x branches.

> 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.11.0, 0.9.6
>            Reporter: Michael Schonfeld
>            Assignee: Michael Schonfeld
>            Priority: Critical
>             Fix For: 0.9.6
>
>
> 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)