org eclipse jetty io EofException early EOF
If you are using Jetty and integrated with your project actively using it then it’s possible you could get below exception:
org.eclipse.jetty.io.EofException: early EOF
at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:65) ~[jetty-server-8.1.12.v20130726.jar:8.1.12.v20130726]
Solution: This exception occures on some version of Jetty and I believe this is bug and JIRA is already there. In the meantime if you want to fix just change the version from older to newest version. As of writing this I was using below version and getting error:
And to fix this I moved up from 8.1.12.v20130726 to 9.2.9.v20150224 as below:
If you are not using maven please download above version or latest version of jars and include in your project. This should fix the issue.