Legacy Knowledge Base
Published Sep. 10, 2025

Why the error "Unable to get ranges java.io.IOException: Range start XXXX is greater than end YYYY" is thrown in the logs?

Written By

Prarthana Jadhav

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • What is the reason behind the following error which is thrown in the logs?
    ERROR [default task-4064][ServletResponseUtil:227] Unable to get ranges
    java.io.IOException: Range start 2851129 is greater than end 2851128
     at com.liferay.portal.kernel.servlet.ServletResponseUtil.getRanges(ServletResponseUtil.java:115)
     at com.liferay.portal.kernel.servlet.ServletResponseUtil.sendFileWithRangeHeader(ServletResponseUtil.java:224)
     at com.liferay.portal.webdav.methods.GetMethodImpl.process(GetMethodImpl.java:75)
     at com.liferay.portal.webdav.WebDAVServlet.service(WebDAVServlet.java:118)

Environment

  • Liferay DXP 7.0

Resolution

Additional Information

  • Please note that the pointers provided in the resolution are based on generic scenarios. The resolutions may vary with different environments as well.
Did this article resolve your issue ?

Legacy Knowledge Base