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

via Oracle Community by 843835, 1 year ago
Adding text to an XML document must not be null
via atlassian.com by Unknown author, 2 years ago
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.jivesoftware.phone.asterisk.AsteriskEventHandler$OnPhoneTask.run(AsteriskEventHandler.java:242)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

You are the first who have seen this exception.

Write tip

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