We're updating the issue view to help you get more done. 

Faulty assumption in RoutingTableImpl leads to NPE

Description

This was reported in the associated forum URL. Checking the code it seems that the logic is ...

Line 326-7:

...
Line 343:

If the session is remote, then

will return null.

[Edit; correct description following feedback on forum]

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Ramon
December 2, 2019, 6:56 AM
Edited

Description of class LocalRoutingTable says:

"Internal component used by the RoutingTable to keep references to routes hosted by this JVM.  When running in a cluster each cluster member will have its own RoutingTable containing an instance of this class. Each LocalRoutingTable is responsible for storing routes to components, client sessions and outgoing server sessions hosted by local cluster node..."

So because remote routes are not synched over the cluster members it will always be null?

Fixed

Assignee

Greg Thomas

Reporter

Greg Thomas

Labels

None

Expected Effort

None

Components

Fix versions

Affects versions

Priority

Major
Configure