Skip to content

Commit

Permalink
added check for null merge view
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Oct 30, 2006
1 parent f316926 commit d68c3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/jgroups/mux/Multiplexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* message is removed and the MuxChannel corresponding to the header's service ID is retrieved from the map,
* and MuxChannel.up() is called with the message.
* @author Bela Ban
* @version $Id: Multiplexer.java,v 1.34 2006/10/25 13:45:29 belaban Exp $
* @version $Id: Multiplexer.java,v 1.35 2006/10/30 12:27:55 belaban Exp $
*/
public class Multiplexer implements UpHandler {
/** Map<String,MuxChannel>. Maintains the mapping between service IDs and their associated MuxChannels */
Expand Down Expand Up @@ -282,7 +282,7 @@ public void up(Event evt) {
temp_merge_view=(MergeView)view.clone();
if(log.isTraceEnabled())
log.trace("received a MergeView: " + temp_merge_view + ", adjusting the service view");
if(!flush_present) {
if(!flush_present && temp_merge_view != null) {
try {
if(log.isTraceEnabled())
log.trace("calling handleMergeView() from VIEW_CHANGE (flush_present=" + flush_present + ")");
Expand Down

0 comments on commit d68c3f3

Please sign in to comment.