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

Atlassian JIRA | Justen Stepka [Atlassian] | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
  4. 0

    [CWD-2195] XML Backup fails if user attributes are empty or NULL - Atlassian JIRA

    atlassian.com | 2 years ago
    java.lang.IllegalArgumentException: Adding text to an XML document must not be

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Adding text to an XML document must not be null

      at org.dom4j.DocumentFactory.createText()
    2. dom4j
      AbstractElement.addText
      1. org.dom4j.DocumentFactory.createText(DocumentFactory.java:174)
      2. org.dom4j.tree.AbstractElement.addText(AbstractElement.java:899)
      2 frames
    3. com.atlassian.crowd
      Backup.doExport
      1. com.atlassian.crowd.migration.ApplicationMapper.exportXml(ApplicationMapper.java:98)
      2. com.atlassian.crowd.migration.XmlMigrator.exportXml(XmlMigrator.java:82)
      3. com.atlassian.crowd.console.action.admin.Backup.doExport(Backup.java:58)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames