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
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev