com.liferay.portal.kernel.xml.DocumentException: Error on line 4 of document : The element type "HR" must be terminated by the matching end-tag "</HR>". Nested exception: The element type "HR" must be terminated by the matching end-tag "</HR>".

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 liferay.com by Unknown author, 1 year ago
Error on line 4 of document : The element type "HR" must be terminated by the matching end-tag "</HR>". Nested exception: The element type "HR" must be terminated by the matching end-tag "</HR>".
via liferay.com by Unknown author, 1 year ago
Error on line 4 of document : The element type "HR" must be terminated by the matching end-tag "</HR>". Nested exception: The element type "HR" must be terminated by the matching end-tag "</HR>".
via liferay.com by Unknown author, 1 year ago
Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
via liferay.com by Unknown author, 1 year ago
Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
via Stack Overflow by Artem
, 2 years ago
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.
via manning.com by Unknown author, 2 years ago
Error on line 25 of document : The content of element type "entity" must match "(column*,order?,finder*,refer ence*,tx-required*)". Nested exception: The content of element type "entity" mus t match "(column*,order?,finder*,reference*,tx-required*)".
com.liferay.portal.kernel.xml.DocumentException: Error on line 4 of document : The element type "HR" must be terminated by the matching end-tag "</HR>". Nested exception: The element type "HR" must be terminated by the matching end-tag "</HR>".
at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:377)
at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:365)
at com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:382)
at com.liferay.workflow.jbi.WorkflowXMLUtil.parseString(WorkflowXMLUtil.java:242)
at com.liferay.workflow.service.impl.WorkflowComponentServiceImpl.deploy(WorkflowComponentServiceImpl.java:95)
at com.liferay.workflow.service.impl.WorkflowDefinitionServiceImpl.addDefinition(WorkflowDefinitionServiceImpl.java:81)
at com.liferay.workflow.service.impl.WorkflowDefinitionServiceImpl.addDefinition(WorkflowDefinitionServiceImpl.java:67)
at com.liferay.workflow.service.WorkflowDefinitionServiceUtil.addDefinition(WorkflowDefinitionServiceUtil.java:50)
at com.liferay.workflow.portlet.WorkflowPortlet.addDefinition(WorkflowPortlet.java:84)
at com.liferay.workflow.portlet.WorkflowPortlet.processAction(WorkflowPortlet.java:126)
at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:98)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:57)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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