Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
2.0.0
-
None
Description
Current Situation
- The Monitor Service is used for synchronization between the History and Notification services.
- If the services were stopped and not all entries have been synchronized, then the Monitor Service writes unsynchronized entries in a serialized (compressed) format to the database.
- In this case a java.io.NotSerializableException error can occur, e.g.:
java.io.NotSerializableException: com.sos.joc.monitoring.model.HistoryMonitoringModel
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1185) ~[?:?]
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1553) ~[?:?]
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1510) ~[?:?]
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433) ~[?:?]
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179) ~[?:?]
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:349) ~[?:?]
at com.sos.commons.util.SOSSerializer.serializeCompressed2bytes(SOSSerializer.java:52)
- In this case a java.io.NotSerializableException error can occur, e.g.:
Desired Behaviour
- Compressed serialization of unsynchronized entries should work