2012/1/2 Konstantin Kolinko <knst.koli...@gmail.com>: > 2012/1/2 Mark Thomas <ma...@apache.org>: >> On 02/01/2012 12:37, Konstantin Kolinko wrote: >>> FYI, I am able to reproduce the failures in this test. >>> Using JDK 6u29 32-bit on WinXP. >> >> I can reproduce it running via Ant as well. Investigating now. >> > > In TestWebRuleSet#parse() the xml files are loaded as > > InputStream is = this.getClass().getClassLoader().getResourceAsStream( > "org/apache/catalina/startup/" + target); > > That works when running from within IDE, but it does not work with Ant.
getResourceAsStream() returns null. The XML parser gets null stream and goes on trying to load the file via an URL and fails. > > I fixed similar error some time ago > http://svn.apache.org/viewvc?view=revision&revision=1197386 > Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org