commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [validator] Most tests are failing
Date Sat, 12 Feb 2005 20:52:05 GMT
Thanks Niall.  Once all the tests pass I can commit some minor changes I'm
working on.

David

--- Niall Pemberton <niall.pemberton@blueyonder.co.uk> 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" <grahamdavid1980@yahoo.com>
> 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: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message