com.liferay.portal.kernel.xml.DocumentException: Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.

openxava | henryedsl | 7 years ago
  1. 0

    OX 4m1 + Liferay

    openxava | 7 years ago | henryedsl
    com.liferay.portal.kernel.xml.DocumentException: Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
  2. 0

    5.1.0 Upgrade Problem - Fóruns | Liferay

    liferay.com | 7 months ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
  3. 0

    RE: 5.1.0 Upgrade Problem - Forums | Liferay

    liferay.com | 7 months ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to deploy WAR file in liferay

    Stack Overflow | 3 years ago | Artem
    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.
  6. 0

    Getting wierd error : Invalid content was found starting with element 'mim - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.xml.DocumentException: Error on line 26 of document : cvc-complex-type.2.4.a: Invalid content was found starting with element 'mime-type'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":portlet-mode, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":window-state}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mime-type'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":portlet-mode, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":window-state}' is expected.

    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. com.liferay.portal.kernel.xml.DocumentException

      Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.

      at com.liferay.portal.xml.SAXReaderImpl.read()
    2. Liferay Portal Impl
      SAXReaderImpl.read
      1. com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:343)
      2. com.liferay.portal.xml.SAXReaderImpl.read(SAXReaderImpl.java:331)
      2 frames
    3. Liferay Portal Service
      SAXReaderUtil.read
      1. com.liferay.portal.kernel.xml.SAXReaderUtil.read(SAXReaderUtil.java:120)
      1 frame
    4. Liferay Portal Impl
      PortletAutoDeployListener.deploy
      1. com.liferay.portal.tools.deploy.PortletDeployer.getServletContent(PortletDeployer.java:186)
      2. com.liferay.portal.tools.deploy.PortletDeployer.getExtraContent(PortletDeployer.java:148)
      3. com.liferay.portal.tools.deploy.BaseDeployer.updateWebXml(BaseDeployer.java:1280)
      4. com.liferay.portal.tools.deploy.BaseDeployer.deployDirectory(BaseDeployer.java:459)
      5. com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:739)
      6. com.liferay.portal.tools.deploy.BaseDeployer.deployFile(BaseDeployer.java:676)
      7. com.liferay.portal.tools.deploy.BaseDeployer.deploy(BaseDeployer.java:407)
      8. com.liferay.portal.deploy.auto.PortletAutoDeployer.autoDeploy(PortletAutoDeployer.java:99)
      9. com.liferay.portal.deploy.auto.PortletAutoDeployListener.deploy(PortletAutoDeployListener.java:84)
      9 frames
    5. Liferay Portal Service
      AutoDeployScanner.run
      1. com.liferay.portal.kernel.deploy.auto.AutoDeployDir.processFile(AutoDeployDir.java:196)
      2. com.liferay.portal.kernel.deploy.auto.AutoDeployDir.scanDirectory(AutoDeployDir.java:144)
      3. com.liferay.portal.kernel.deploy.auto.AutoDeployScanner.run(AutoDeployScanner.java:60)
      3 frames