[logback-dev] [JIRA] Created: (LBCLASSIC-251) LoggingEventVO failed to serialize when argument toString() throws exception

Eugen (JIRA) noreply-jira at qos.ch
Fri Feb 11 14:39:51 CET 2011


LoggingEventVO failed to serialize when argument  toString() throws exception
-----------------------------------------------------------------------------

                 Key: LBCLASSIC-251
                 URL: http://jira.qos.ch/browse/LBCLASSIC-251
             Project: logback-classic
          Issue Type: Bug
    Affects Versions: 0.9.26
            Reporter: Eugen
            Assignee: Logback dev list


LoggingEventVO.writeObject() don't handle situation when  argument toString() throws exception. 
LoggingEventVO become only serialized to OutputStream  partiality, and deserialization failed with exception  

java.lang.ArrayStoreException: ch.qos.logback.classic.spi.LoggingEventVO
	at ch.qos.logback.classic.spi.LoggingEventVO.readObject(LoggingEventVO.java:190) ~[logback-classic-0.9.26.jar:na]

Suppose same fail-safe behavior required as in  MessageFormatter.safeObjectAppend

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list