Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1182

Monitor Service - java.io.NotSerializableException

    XMLWordPrintable

Details

    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)

      Desired Behaviour

      • Compressed serialization of unsynchronized entries should work

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Robert Ehrlich Robert Ehrlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: