Re: Another crasher

This was not handling the case where there was no body, it seems, on a
2xx response. In particular, this:
http://demo.spip.org/svn/spip.php?action=cron

... returns a 204 and no body. Interestingly it says it is text/html,
but is used in a CSS background-image property. Fortunately this does
trigger a fail as appropriate.

Sean

On Nov 26, 2007 12:30 PM, Dominique Hazael-Massieux <dom@w3.org> wrote:
>
> Hi,
>
> Running http://demo.spip.org/svn/dist/spip.png through the checker
> triggers the following trace:
> java -jar mobileOK-Basic-RI-1.0-deploy.jar -m moki.xml -r results.xml  http://demo.spip.org/svn/spip.php?article32
> Info: Writing MOKI document to moki.xml
> Exception in thread "main" java.lang.NullPointerException
>         at org.w3c.mwi.mobileok.basic.HTTPRedirect.<init>(HTTPRedirect.java:68)
>         at org.w3c.mwi.mobileok.basic.HTTPResource.<init>(HTTPResource.java:80)
>         at org.w3c.mwi.mobileok.basic.HTTPResource.<init>(HTTPResource.java:60)
>         at org.w3c.mwi.mobileok.basic.HTTPImageResource.<init>(HTTPImageResource.java:38)
>         at org.w3c.mwi.mobileok.basic.Preprocessor.preprocess(Preprocessor.java:98)
>         at org.w3c.mwi.mobileok.basic.Tester.getPreprocessorResults(Tester.java:79)
>         at org.w3c.mwi.mobileok.basic.Tester.main(Tester.java:134)
>
> I haven't looked into it yet, but anyone should feel free to beat me to it :)
>
> Dom
>
>
>
>

Received on Tuesday, 27 November 2007 00:47:08 UTC