[ 
https://jira.codehaus.org/browse/SUREFIRE-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kristian Rosenvold closed SUREFIRE-746.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11
         Assignee: Kristian Rosenvold

Fixed in r1205595, thanks for the testcase !

> Other registered failing RunListeners cause NullPointerException in 
> ConcurrentReporterManager, falsely report of "No tests were executed!": 
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-746
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-746
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.8.1
>            Reporter: Aslak Knutsen
>            Assignee: Kristian Rosenvold
>             Fix For: 2.11
>
>         Attachments: SurefireXXX.java
>
>
> A Custom Runner in JUnit can register their own RunListeners on the 
> RunNotifier during execution. When these fail, junit removes them from the 
> Listener chain and fires a 'internal' Failure, 
> {code:title=RunNotifier.SafeNotifier:44}
> fireTestFailure(new Failure(Description.TEST_MECHANISM, e));
> {code}
> When a unknown Failure is fired with a 'unknown' Description as compared to 
> surefires pre created metadata registry, it fails with a NullPointerException 
> and is removed by JUnit. 
> "No tests are found"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to