You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/01/01 23:53:13 UTC
[jira] Closed: (SUREFIRE-17) ReporterManager stdOutLog variable not
initialized if test fails in setup
[ http://jira.codehaus.org/browse/SUREFIRE-17?page=all ]
Carlos Sanchez closed SUREFIRE-17:
----------------------------------
Assign To: Carlos Sanchez (was: Jason van Zyl)
Resolution: Cannot Reproduce
I think this has already been fixed
> ReporterManager stdOutLog variable not initialized if test fails in setup
> -------------------------------------------------------------------------
>
> Key: SUREFIRE-17
> URL: http://jira.codehaus.org/browse/SUREFIRE-17
> Project: surefire
> Type: Bug
> Versions: 1.4
> Reporter: Barry Kaplan
> Assignee: Carlos Sanchez
>
>
> When a test fails during setup, or inside the suite method, org.codehaus.surefire.report.ReporterManager will throw a NPE in method testFailed(ReportEntry, String typeError) at line 344. This is because stdOutLog and stdErrLog are not initialized until the testStarting(ReportEntry) method is called.
> These variables are never disposed, so they may as well be initialized as part of ReporterManager construction.
--
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