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

Atlassian JIRA | Renan Battaglin | 6 years ago
  1. 0
  2. 0
  3. 0

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

    atlassian.com | 1 year ago
    java.lang.IllegalArgumentException: Adding text to an XML document must not be
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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:142)
      2. org.dom4j.tree.AbstractElement.addText(AbstractElement.java:1286)
      2 frames
    3. com.atlassian.crowd
      Backup.doExport
      1. com.atlassian.crowd.migration.UserMapper.addUserAttributesToXml(UserMapper.java:120)
      2. com.atlassian.crowd.migration.UserMapper.addUserToXml(UserMapper.java:95)
      3. com.atlassian.crowd.migration.UserMapper.exportXml(UserMapper.java:74)
      4. com.atlassian.crowd.migration.XmlMigrator.exportXml(XmlMigrator.java:35)
      5. com.atlassian.crowd.migration.XmlMigrationManagerImpl.exportXml(XmlMigrationManagerImpl.java:97)
      6. com.atlassian.crowd.console.action.admin.Backup.doExport(Backup.java:103)
      6 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:592)
      4 frames
    5. XWork Tiger Extensions
      DefaultActionInvocation.invokeActionOnly
      1. com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      2. com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
      2 frames