[ 
https://jira.codehaus.org/browse/SUREFIRE-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=303002#comment-303002
 ] 

Kristian Rosenvold edited comment on SUREFIRE-863 at 7/8/12 3:26 PM:
---------------------------------------------------------------------

I think this patch wont work, since I had to remove some use of the 
ClassDemarcatingRunner. Looking at the original code, it probably got worse too.
                
      was (Author: krosenvold):
    I think this patch wont work, since I had to remove some use of the 
ClassDemarcatingRunner
                  
> NPE in ConcurrentReporterManager
> --------------------------------
>
>                 Key: SUREFIRE-863
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-863
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.x support
>    Affects Versions: 2.12
>            Reporter: Mark Struberg
>         Attachments: SUREFIRE-863.patch
>
>
> I have a wird NPE in surefire with one of my projects:
> Caused by: java.lang.NullPointerException
>       at 
> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768)
>       at 
> org.apache.maven.surefire.junitcore.ConcurrentReporterManager.getTestSet(ConcurrentReporterManager.java:157)
>       at 
> org.apache.maven.surefire.junitcore.ConcurrentReporterManager.getOrCreateTestMethod(ConcurrentReporterManager.java:127)
>       at 
> org.apache.maven.surefire.junitcore.ConcurrentReporterManager.testError(ConcurrentReporterManager.java:83)
>       at 
> org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure(JUnit4RunListener.java:110)
>       at 
> org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:100)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to