I've encountered an issue while trying to access this Ajax page through my Java program using the HtmlUnit 2.15 API. It seems that the problem arises from a broken link to a missing file located here.
This is the snippet of code I'm working with:
public class HtmlUnitExample {
public static void main(String[] args) throws Exception, FailingHttpStatusCodeException, MalformedURLException, IOException, InterruptedException {
// Code block for WebClient settings
}
}
The error message I'm receiving points to an issue related to ZLIB input stream unexpectedly ending:
Exception in thread "main" java.io.EOFException: Unexpected end of ZLIB input stream
// Truncated error log
There is also a reference to the CSS file causing issues:
<link href='/JuriPopular/App_Themes/estilo/css.axd?files=jPages.css,estilo.css,jquery.fancybox.css' type='text/css' rel='stylesheet' />
Furthermore, the CSS file links to a font file which appears to be missing:
@font-face{font-family:'DigitalDotRoadsign';
src:url('fonts/DigitalDotRoadsign.eot');
// Font files references
}
Could this broken link to the missing font file be the root cause of the issue? Is there a way to resolve this by bypassing or removing the problematic element?