org.dom4j.DocumentException: Error on line 57 of document : The entity name must immediately follow the '&' in the entity reference. Nested exception: The entity name must immediately follow the '&' in the entity reference.

JIRA | LG | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    xml-parsing error in liferay 6.1.1

    Stack Overflow | 5 years ago | dmitrievanthony
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: com.liferay.portal.kernel.xml.DocumentException: Error on line 1 of document : The value following "version" in the XML declaration must be a quoted string. Nested exception: The value following "version" in the XML declaration must be a quoted string.
  3. 0

    xml api broken in 1.399?

    Google Groups | 6 years ago | Brian J. Murrell
    hudson.util.IOException2: Error on line 1 of document : Element type "origin" must be followed by either attribute specifications, ">" or "/>". Nested exception: Element type "origin" must be followed by either attribute specifications, ">" or "/>".

    41 unregistered visitors
    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. org.dom4j.DocumentException

      Error on line 57 of document : The entity name must immediately follow the '&' in the entity reference. Nested exception: The entity name must immediately follow the '&' in the entity reference.

      at org.dom4j.io.SAXReader.read()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:482)
      2. org.dom4j.io.SAXReader.read(SAXReader.java:365)
      2 frames
    3. org.jivesoftware.util
      JiveGlobals.getHomeDirectory
      1. org.jivesoftware.util.XMLProperties.buildDoc(XMLProperties.java:464)
      2. org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:112)
      3. org.jivesoftware.util.XMLProperties.<init>(XMLProperties.java:61)
      4. org.jivesoftware.util.JiveGlobals.loadSetupProperties(JiveGlobals.java:771)
      5. org.jivesoftware.util.JiveGlobals.getHomeDirectory(JiveGlobals.java:228)
      5 frames
    4. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame