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

Error with adding presence to MUC presence stanza

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.2
    • Fix Version/s: 4.0.0
    • Component/s: MUC
    • Labels:
      None

      Description

      Ignite's Openfire is currently logging these tracebacks, I am unsure if the two are related but am including them both as they have the same timestamp.

      2015.07.02 14:02:36 org.jivesoftware.openfire.muc.cluster.MUCRoomTask - The node "org.dom4j.tree.DefaultElement@7c2bd8b [Element: <x uri: http://jabber.org/protocol/muc#user attributes: []/>]" could not be added to the element "presence" because: The Node already has an existing parent of "presence"
      org.dom4j.IllegalAddException: The node "org.dom4j.tree.DefaultElement@7c2bd8b [Element: <x uri: http://jabber.org/protocol/muc#user attributes: []/>]" could not be added to the element "presence" because: The Node already has an existing parent of "presence"
              at org.dom4j.tree.AbstractElement.addNode(AbstractElement.java:1521)
              at org.dom4j.tree.AbstractElement.add(AbstractElement.java:1002)
              at org.jivesoftware.openfire.muc.spi.LocalMUCRole.setPresence(LocalMUCRole.java:165)
              at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.presenceUpdated(LocalMUCRoom.java:1828)
              at org.jivesoftware.openfire.muc.cluster.UpdatePresence$1.run(UpdatePresence.java:69)
              at org.jivesoftware.openfire.muc.cluster.MUCRoomTask.execute(MUCRoomTask.java:85)
              at org.jivesoftware.openfire.muc.cluster.UpdatePresence.run(UpdatePresence.java:67)
              at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.presenceUpdated(LocalMUCRoom.java:1811)
              at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:566)
              at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:197)
              at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:331)
              at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:591)
              at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:401)
              at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:243)
              at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:135)
              at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)
              at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:84)
              at org.jivesoftware.openfire.net.SocketReader.processPresence(SocketReader.java:284)
              at org.jivesoftware.openfire.net.ServerSocketReader.access$201(ServerSocketReader.java:60)
              at org.jivesoftware.openfire.net.ServerSocketReader$2.run(ServerSocketReader.java:122)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      
      2015.07.02 14:02:36 org.jivesoftware.openfire.muc.spi.LocalMUCUser - Internal server error
      java.lang.NullPointerException
              at org.dom4j.tree.AbstractBranch.appendContent(AbstractBranch.java:290)
              at org.dom4j.tree.AbstractElement.createCopy(AbstractElement.java:1275)
              at org.xmpp.packet.Presence.<init>(Presence.java:85)
              at org.xmpp.packet.Presence.createCopy(Presence.java:309)
              at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.presenceUpdated(LocalMUCRoom.java:1814)
              at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:566)
              at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:197)
              at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:331)
              at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:591)
              at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:401)
              at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:243)
              at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:135)
              at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)
              at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:84)
              at org.jivesoftware.openfire.net.SocketReader.processPresence(SocketReader.java:284)
              at org.jivesoftware.openfire.net.ServerSocketReader.access$201(ServerSocketReader.java:60)
              at org.jivesoftware.openfire.net.ServerSocketReader$2.run(ServerSocketReader.java:122)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: