ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <>
Subject issue with IBiblioResolverTest.testErrorReport
Date Sun, 25 Jan 2015 23:56:03 GMT

when I run the ivy test suite on my computer at home, the iBiblioResolverTest.testErrorReport

The error happens on line 251 :

ResolvedModuleRevision rmr = resolver.getDependency(new DefaultDependencyDescriptor(mrid,
                false), _data);

What happens on that line is that :

- the proxy that I use at home produces an HTML5 error report about the

- this error report is consumed by ivy as if it was a POM file and generates this exception

java.text.ParseException: Already seen doctype.
at org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParser.newParserException(

One workaround to deal with that is to surround the call to resolver.getDependency with try/catch
and also to remove the last assertion :

This of course is a workaround.

Is it also an intelligent solution ? 

Is the normal behavior when trying to access a non existent host name to get an UnknownHostException



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message