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"

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jive Software Open Source by Daryl Herzmann, 1 year ago
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"
via Jive Software Open Source by Daryl Herzmann, 1 year ago
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"
via JIRA by Daryl Herzmann, 1 year ago
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"
via hibernate.org by Unknown author, 1 year ago
The node "org.dom4j.tree.DefaultElement@18b3364 [Element: <parent attributes: []/>]" could not be added to the element "Parents" because: The Node already has an existing parent of "Child"
via nexoncn.com by Unknown author, 1 year ago
The node "org.dom4j.tree.DefaultElement@17bd6a1 [Element: <author attributes: []/>]" could not be added to the element "root" because: The Node already has an existing parent of "root"
via th7.cn by Unknown author, 1 year ago
The node"[email protected] [Element: ]"could not be added to the element"root"because: The Node already has an existing parent of"root"
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.