Latest 2.8.2-SNAPSHOT version having sporadic java.lang.RuntimeException errors
-------------------------------------------------------------------------------
Key: SUREFIRE-742
URL: http://jira.codehaus.org/browse/SUREFIRE-742
Project: Maven Surefire
Issue Type: Bug
Affects Versions: Backlog
Environment: Linux x64
Reporter: S Daigle
Attachments: sf.txt
We're using the latest 2.8.2-SNAPSHOT
(maven-surefire-plugin-2.8.2-20110519.214109-36) and we're seeing sporadic
errors with some of our tests:
Exception in thread "ThreadedStreamConsumer" java.lang.RuntimeException:
java.util.StringTokenizer@5051207c
at
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.createReportEntry(ForkClient.java:190)
at
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:106)
at
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
at
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.deserializeStackStraceWriter(ForkClient.java:198)
at
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.createReportEntry(ForkClient.java:181)
... 3 more
We've also noted, when run individually, maven reports FAILED but when run with
a group of tests, we still see the failures but maven reports SUCCESS. I
attached a log with the individual test run using "mvn -e".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira