ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Petterson (KI/EAB)" <mikael.petter...@ericsson.com>
Subject java.nio.BufferOverflowException in junit task
Date Wed, 26 Oct 2005 08:13:11 GMT
Hi,

we are running some junit (3.8.1) tests with ant (1.6.2) and after a while when running the
tests we get the following error (see below).
we are using sun's jdk 1.4.2_04.
Any ideas what this might be?

cheers,

//mikael 


The ' characters around the executable and arguments are
not part of the command.
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.873 sec
    [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 0.103 sec
    [junit] Exception in thread "main" java.nio.BufferOverflowException
    [junit]     at java.nio.charset.CoderResult.throwException(CoderResult.java:259)
    [junit]     at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:188)
    [junit]     at java.lang.StringCoding.decode(StringCoding.java:224)
    [junit]     at java.lang.StringCoding.decode(StringCoding.java:230)
    [junit]     at java.lang.String.<init>(String.java:371)
    [junit]     at java.lang.String.<init>(String.java:390)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:305)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:537)




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message