[ 
http://jira.codehaus.org/browse/SUREFIRE-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=267569#action_267569
 ] 

Kristian Rosenvold commented on SUREFIRE-742:
---------------------------------------------

Improved error checking and hardened validation in r1125462, deployed new 
2.8.2-SNAPSHOT.

ALthough this will probably not make your error go away, it'll improve the 
error message and/or change the intermittent problem, and i look forward to any 
updates on new error messages.

> 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

        

Reply via email to