java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.

runawfe | vromav | 3 years ago
  1. 0

    Скрипты в wfe не работают?

    runawfe | 3 years ago | vromav
    java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.
  2. 0

    Null Pointer Exceptions when using UML module in JSE8

    Oracle Community | 1 decade ago | 807581
    org.dom4j.DocumentException: Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.
  3. 0

    xml-parsing error in liferay 6.1.1

    Stack Overflow | 4 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 "/>".
  6. 0

    Start Up Errors within 4.3rc1 - Forums | Liferay

    liferay.com | 1 year ago
    org.dom4j.DocumentException: Error on line 558 of document  : The content of element type "liferay-portlet-app" must match "(portlet*,role-mapper*,custom-user-attribute*)". Nested exception: The content of element type "liferay-portlet-app" must match "(portlet*,role-mapper*,custom-user-attribute*)".

    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 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.

      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. ru.runa.wfe
      AdminScriptClient.run
      1. ru.runa.wfe.commons.xml.XmlUtils.parse(XmlUtils.java:106)
      2. ru.runa.wfe.commons.xml.XmlUtils.parseWithXSDValidation(XmlUtils.java:73)
      3. ru.runa.wfe.service.client.AdminScriptClient.run(AdminScriptClient.java:76)
      3 frames
    4. ru.runa.common
      AdminkitScriptsAction.execute
      1. ru.runa.common.web.action.AdminkitScriptsAction.execute(AdminkitScriptsAction.java:50)
      1 frame
    5. struts
      RequestProcessor.process
      1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
      2. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
      2 frames
    6. ru.runa.common
      UTF8RequestProcessor.process
      1. ru.runa.common.web.UTF8RequestProcessor.process(UTF8RequestProcessor.java:41)
      1 frame
    7. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      2 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    10. ru.runa.common
      HTTPFilterBase.doFilter
      1. ru.runa.common.web.filter.XSSFilter.doFilter(XSSFilter.java:18)
      2. ru.runa.common.web.filter.HTTPFilterBase.doFilter(HTTPFilterBase.java:50)
      2 frames
    11. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    12. ru.runa.common
      HTTPFilterBase.doFilter
      1. ru.runa.common.web.filter.HTTPSessionFilter.doFilter(HTTPSessionFilter.java:49)
      2. ru.runa.common.web.filter.HTTPFilterBase.doFilter(HTTPFilterBase.java:50)
      2 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    14. ru.runa.af
      NTLMFilter.doFilter
      1. ru.runa.af.web.filter.NTLMFilter.doFilter(NTLMFilter.java:54)
      1 frame
    15. ru.runa.common
      HTTPFilterBase.doFilter
      1. ru.runa.common.web.filter.HTTPFilterBase.doFilter(HTTPFilterBase.java:50)
      1 frame
    16. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    17. net.bull.javamelody
      MonitoringFilter.doFilter
      1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
      2. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
      2 frames
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    19. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    20. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      4 frames
    21. JBoss Application Server Tomcat
      JaccContextValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
      2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      2 frames
    22. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2 frames
    23. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      1 frame
    24. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      2 frames
    25. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      3 frames
    26. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame