Community
Participate
Working Groups
Some web server doesn't reply with a Content-Type attribute within the http response. In such case a NullPointerException is thrown in line 60 of the org.eclipse.smila.connectivity.framework.crawler.web.parse.ParserManagerImpl class. There must be check if the response contains a Content-Type attribute.
Hi Nils, thanks for your bug report. Could you please provide a sample URL were the webserver does not reply a Content-Type so that I can add a JUnit Test ? I already added a check if the contentType is null in ParserManagerImpl with revision 713. Bye, Daniel
(In reply to comment #1) > Could you please provide a sample URL were the > webserver does not reply a Content-Type so that I can add a JUnit Test ? > shouldn't that rather be mocked than having a test against a live URL?
I' closing this issue since no further input has been provided and the fix has been committed.
Closing this