java.lang.IllegalArgumentException: Adding text to an XML document must not be null

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

java.lang.IllegalArgumentException: Adding text to an XML document must not be null
at org.dom4j.DocumentFactory.createText(DocumentFactory.java:174)
at org.dom4j.tree.AbstractElement.addText(AbstractElement.java:899)
at org.dom4j.tree.AbstractElement.setText(AbstractElement.java:1120)
at org.xmpp.packet.Roster.addItem(Roster.java:189)
at org.jivesoftware.wildfire.roster.Roster.broadcast(Roster.java:688)
at org.jivesoftware.wildfire.roster.Roster.addSharedUser(Roster.java:815)
at org.jivesoftware.wildfire.roster.RosterManager.groupUserAdded(RosterManager.java:595)
at org.jivesoftware.wildfire.roster.RosterManager.groupUserAdded(RosterManager.java:561)
at org.jivesoftware.wildfire.roster.RosterManager.groupModified(RosterManager.java:298)
at org.jivesoftware.wildfire.event.GroupEventDispatcher.dispatchEvent(GroupEventDispatcher.java:134)
at org.jivesoftware.wildfire.group.Group$PropertiesMap.put(Group.java:463)
at org.jivesoftware.wildfire.admin.group_002dedit_jsp._jspService(group_002dedit_jsp.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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