You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/01/17 17:57:38 UTC

DO NOT REPLY [Bug 44032] - ThrowableInformation.getThrowableStringRep() can return null lines.

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