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

Kristian Rosenvold closed SUREFIRE-707.
---------------------------------------

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

Fixed in r1077831. 

The problem is related to redirectTestOutputToFile=true, and there have been a 
number of issues in the 2.7 range regarding this flag.

Please re-test 2.8-SNAPSHOT and do not hesitate to re-open issue with 
additional details if it happens again. 2.8 will be releasing next week and I'd 
like to get this sorted out before 2.8.


> NullPointerException in ConcurrentReporterManager on testSkipped (@Ignore on 
> test class)
> ----------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-707
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-707
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.7.2
>         Environment: $ mvn -version
> Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
> Java version: 1.6.0_22, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.35-25-generic", arch: "amd64", family: "unix"
>            Reporter: Mark Renouf
>            Assignee: Kristian Rosenvold
>             Fix For: 2.8
>
>
> Captured using a custom RunListener, tracing to a file:
> 2011-02-28-13:30:02.137 TEST_FAILED   - Test mechanism: null
> java.lang.NullPointerException
>         at 
> org.apache.maven.surefire.junitcore.ConcurrentReporterManager.testSkipped(ConcurrentReporterManager.java:107)
>         at 
> org.apache.maven.surefire.common.junit4.JUnit4RunListener.testIgnored(JUnit4RunListener.java:68)
>         at 
> org.junit.runner.notification.RunNotifier$6.notifyListener(RunNotifier.java:130)
>         at 
> org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:41)
>         at 
> org.junit.runner.notification.RunNotifier.fireTestIgnored(RunNotifier.java:127)
>         at 
> org.junit.internal.builders.IgnoredClassRunner.run(IgnoredClassRunner.java:19)
>         at org.junit.runners.Suite.runChild(Suite.java:128)
>         at org.junit.runners.Suite.runChild(Suite.java:24)
>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
>         at 
> org.apache.maven.surefire.junitcore.ConfigurableParallelComputer$AsynchronousRunner$1.call(ConfigurableParallelComputer.java:185)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)

-- 
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