Commit acfce3d1 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed NPE. JM-540

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3353 b35dd754-fafc-0310-a699-88a17e54d16e
parent a25c2e0b
......@@ -105,7 +105,7 @@ public class RoutingTableImpl extends BasicModule implements RoutingTable {
if (nameRoutes instanceof ChannelHandler) {
route = (RoutableChannelHandler)nameRoutes;
}
else {
else if (nameRoutes != null) {
Object resourceRoutes = ((Hashtable)nameRoutes).get(node);
if (resourceRoutes instanceof ChannelHandler) {
route = (RoutableChannelHandler)resourceRoutes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment