Another clue

View: New views
2 Messages — Rating Filter:   Alert me  

Another clue

by Peter Drake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried running the test manually with junit.textui.TestRunner and it  
more or less succeeded:

.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
........log4j:WARN No appenders could be found for logger  
(org.jgap.gp.impl.GPPopulation).
log4j:WARN Please initialize the log4j system properly.
.................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
...........................[Fatal Error] :-1:-1: Premature end of file.
.....
Time: 2.989

OK (1344 tests)

Do you have any idea what the log4j warning is about? Is the Fatal  
Error at the end something to worry about?

I suspect that the problem with running the tests in Eclipse may come  
from the fact that Eclipse runs tests in a multithreaded way. Is JGAP  
not thread-safe?

Peter Drake
http://www.lclark.edu/~drake/




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users

Re: Another clue

by Klaus Meffert-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter,

This is aknow issue not lying in the responsibility of JGAP. Please see the
Javadoc in class XMLManagerTest, method testReadFile_0.
You can ignore this failure.

Your assumption about the thread-safety issue is considered wrong in this
case.

Best

Klaus
www.klaus-meffert.com

 

> -----Original Message-----
> From: jgap-users-bounces@...
> [mailto:jgap-users-bounces@...] On Behalf
> Of Peter Drake
> Sent: Thursday, May 22, 2008 6:43 AM
> To: jgap-users@...
> Subject: [jgap-users] Another clue
>
> I tried running the test manually with
> junit.textui.TestRunner and it more or less succeeded:
>
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> ........log4j:WARN No appenders could be found for logger
> (org.jgap.gp.impl.GPPopulation).
> log4j:WARN Please initialize the log4j system properly.
> .................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> .........................................
> ...........................[Fatal Error] :-1:-1: Premature
> end of file.
> .....
> Time: 2.989
>
> OK (1344 tests)
>
> Do you have any idea what the log4j warning is about? Is the
> Fatal Error at the end something to worry about?
>
> I suspect that the problem with running the tests in Eclipse
> may come from the fact that Eclipse runs tests in a
> multithreaded way. Is JGAP not thread-safe?
>
> Peter Drake
> http://www.lclark.edu/~drake/
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users
LightInTheBox - Buy quality products at wholesale price