Thanks Niall. Once all the tests pass I can commit some minor changes I'm working on.
David --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > This is may be because I rolled back the changes to Field for Bug 31194 > > http://issues.apache.org/bugzilla/show_bug.cgi?id=31194 > > although I thought that only FieldTest (which I didn't roll back the > changes > for) would fail because of this. I was going to change FieldTest if/when > it > was agreed what I was proposing for 31194. > > I'll give the tests a run and see if I get the same as you. It will take > me > longer than usual, since I haven't moved to using SVN for Validator yet. > > Niall > > ----- Original Message ----- > From: "David Graham" <[EMAIL PROTECTED]> > To: <commons-dev@jakarta.apache.org> > Sent: Saturday, February 12, 2005 8:02 PM > Subject: [validator] Most tests are failing > > > > Most of Validator's JUnit tests fail with the stack trace below. Is > it > > just that I am missing a classpath setting or is the code actually > broken? > > They fail when running from Eclipse and 'maven dist'. > > > > Thanks, > > David > > > > > > java.lang.ArrayIndexOutOfBoundsException: -1 > > at > > > org.apache.commons.digester.Digester.createSAXException(Digester.java:2792) > > at > > > org.apache.commons.digester.Digester.createSAXException(Digester.java:2818) > > at org.apache.commons.digester.Digester.endElement(Digester.java:1070) > > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712) > > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) > > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) > > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) > > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) > > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) > > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) > > at org.apache.crimson.parser.Parser2.content(Parser2.java:1963) > > at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691) > > at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667) > > at org.apache.crimson.parser.Parser2.parse(Parser2.java:337) > > at > org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448) > > at org.apache.commons.digester.Digester.parse(Digester.java:1591) > > at > > > org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.ja > va:158) > > at > > > org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.ja > va:123) > > at > > > org.apache.commons.validator.TestCommon.loadResources(TestCommon.java:54) > > at > > > org.apache.commons.validator.RequiredNameTest.setUp(RequiredNameTest.java:77 > ) > > at junit.framework.TestCase.runBare(TestCase.java:125) > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:118) > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > at junit.framework.TestSuite.run(TestSuite.java:203) > > at junit.framework.TestSuite.runTest(TestSuite.java:208) > > at junit.framework.TestSuite.run(TestSuite.java:203) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu > nner.java:421) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. > java:305) > > at > > > org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner > .java:186) > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - now with 250MB free storage. Learn more. > > http://info.mail.yahoo.com/mail_250 > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]