Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
0002646: FileRouting throws NPE when lookup router doesn't route
  • Loading branch information
mmichalek committed Jun 22, 2016
1 parent ed86c8f commit 5cdfccc
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -97,8 +97,11 @@ public Set<String> routeToNodes(SimpleRouterContext context, DataMetaData dataMe
((ChannelRouterContext) context).addUsedDataRouter(dataRouter);
}
dataMetaData.setRouter(router);
nodeIds.addAll(dataRouter.routeToNodes(context, dataMetaData, nodes, false,
false, triggerRouter));
Set<String> dataRouterNodeIds = dataRouter.routeToNodes(context, dataMetaData, nodes, false,
false, triggerRouter);
if (dataRouterNodeIds != null) {
nodeIds.addAll(dataRouterNodeIds);
}
nodeIds.remove(sourceNodeId);
}
}
Expand Down

0 comments on commit 5cdfccc

Please sign in to comment.