logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44032] - ThrowableInformation.getThrowableStringRep() can return null lines.
Date Thu, 17 Jan 2008 16:57:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44032>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44032


carnold@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|NullPointerException in     |ThrowableInformation.getThro
                   |RollingFileAppender         |wableStringRep() can return
                   |                            |null lines.




------- Additional Comments From carnold@apache.org  2008-01-17 08:57 -------
Changed summary of bug since bug is not specific to RollingFileAppender.  

Changes committed in rev 612863.  

In addition to the synchronization issue, there was an isolation issue.  On every call except
the first, the 
cached string representation was cloned before being returned.  However, if you got the first
call, you 
could "rewrite" the string representation by modifying the returned value.  
ThrowableInformationTest.testIsolation would fail with log4j 1.2.15.  Whatever it did, it
should have been 
consistent.  Either everyone should be able to rewrite or no one should be able to rewrite.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message