incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gómez Ferro (JIRA) <>
Subject [jira] [Comment Edited] (S4-74) NullPointerException on TCPEmitter.onChange()
Date Fri, 13 Jul 2012 13:13:33 GMT


Daniel Gómez Ferro edited comment on S4-74 at 7/13/12 1:12 PM:

This fixed the original problem, thanks a lot! 

+1 from my side
      was (Author: dferro):
    This fixed the original problem, thanks a lot!
> NullPointerException on TCPEmitter.onChange() 
> ----------------------------------------------
>                 Key: S4-74
>                 URL:
>             Project: Apache S4
>          Issue Type: Bug
>    Affects Versions: 0.5
>            Reporter: Daniel Gómez Ferro
>            Assignee: Matthieu Morel
>             Fix For: 0.5
> TCPEmitter is registering itself as a listener in its constructor: {{this.topology.addListener(this);}}
> The topology is triggering a refresh before the TCPEmitter is fully constructed, so TCPEmitter.partitionNodeMap
is still null during onChange() execution.
> TCPEmitter shouldn't register itself as a listener until it's fully built, see
(Don't publish the "this" reference during construction)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message