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

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

[ http://jira.qos.ch/browse/LBCLASSIC-251?page=com.atlassian.jira.plugin.syste... ] Ceki Gulcu reassigned LBCLASSIC-251: ------------------------------------ Assignee: Ceki Gulcu (was: Logback dev list)
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: Ceki Gulcu
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
participants (2)
-
Ceki Gulcu (JIRA)
-
Eugen (JIRA)