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

NPE in MultiUserChatServiceImpl#process(IQ) with null iqHandlers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: MUC
    • Labels:
      None

      Description

      Observed with current master build

      2016.12.13 20:39:25 ERROR [Server SR - 679694441]: org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Internal server error
      java.lang.NullPointerException
      	at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.process(MultiUserChatServiceImpl.java:419)
      	at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:330)
      	at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:606)
      	at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:406)
      	at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:248)
      	at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:323)
      	at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115)
      	at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78)
      	at org.jivesoftware.openfire.net.SocketReader.processIQ(SocketReader.java:269)
      	at org.jivesoftware.openfire.net.ServerSocketReader.processIQ(ServerSocketReader.java:79)
      	at org.jivesoftware.openfire.net.SocketReader.process(SocketReader.java:238)
      	at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:168)
      	at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76)
      	at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:145)
      	at java.lang.Thread.run(Thread.java:745)
      

      and line 419 is:

      IQHandler h = this.iqHandlers.get(namespace);
      

      iqHandlers must be null

        Attachments

          Activity

            People

            Assignee:
            dwd Dave Cridland
            Reporter:
            akrherz Daryl Herzmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: