Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41063

SSE GW Plugin: Serializable EventDispatcher contains non-serializable fields

XMLWordPrintable

      I was prototyping some code around Session management in Jenkins with standard Jetty's HashSessionManager. This session manager tries to serialize sessions and their attributes to the disk. In Jetty all session attributes are supposed to be serializable, especially if they declare the Serializable interface.

      In SSE Plugin EventDispather instances cannot be really serialized, because classes like PubSubBus and Authentication instances are not serializable in Jenkins core it causes failures in Session management.

            tfennelly Tom FENNELLY
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: