Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evoke an error if images are missing on html page #3

Open
rbri opened this issue Oct 25, 2021 · 1 comment
Open

Evoke an error if images are missing on html page #3

rbri opened this issue Oct 25, 2021 · 1 comment

Comments

@rbri
Copy link
Member

rbri commented Oct 25, 2021

% migrated from trac

We have to do the same for missing css files.

All this resources are processed, if we safe an page. I think this is the right place to check this. But because Frank is working at the moment on the exception handling, i like to postpone this until Frank finished.

The check is already in the source but commented out (search for 'Ticket #42')

@rbri
Copy link
Member Author

rbri commented Oct 25, 2021

another situation; this problem is not visible in the report

    09:22:25   [wetator] FATAL [ main] (     HtmlUnitBrowser.java:  661) - Problem with window handling. Saving page failed!
    09:22:25   [wetator] java.lang.IllegalArgumentException: about:graypixel.gif is not supported, only about:blank is supported now.
    09:22:25   [wetator] 	at com.gargoylesoftware.htmlunit.WebClient.makeWebResponseForAboutUrl(WebClient.java:1078)
    09:22:25   [wetator] 	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1202)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.ResponseStore.storeContentFromUrl(ResponseStore.java:190)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeAttributes(XHtmlOutputter.java:441)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeStartTag(XHtmlOutputter.java:304)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:276)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeSubNodes(XHtmlOutputter.java:278)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeTo(XHtmlOutputter.java:246)
    09:22:25   [wetator] 	at org.wetator.backend.htmlunit.XHtmlOutputter.writeTo(XHtmlOutputter.java:227)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant