Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1888

Faulty assumption in RoutingTableImpl leads to NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.4.2
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

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

      Line 326-7:

      List<JID> routes = getRoutes(jid.asBareJID(), null);
      for (JID route : routes) {

      ...
      Line 343:

      localRoutingTable.getRoute(route).process(carbon);

      If the session is remote, then

      localRoutingTable.getRoute(route)

      will return null.

      [Edit; correct description following feedback on forum]

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gdt Greg Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: