-
Improvement
-
Resolution: Fixed
-
Minor
Follow-up to JENKINS-47714
Channel#current() uses thread-local storage to determine the current channel. It returns null if the channel does not exist Some writeReplace/readObject/etc. serialization logic retrieves the channel in order to export the object via ExportTable. Obviously, such operations will fail if we try to serialize the object without Remoting context.
Full list of classes to be updated is TBD, some of them are referenced in https://github.com/jenkinsci/remoting/pull/206
- causes
-
JENKINS-57244 java.io.NotSerializableException: The calling thread Thread has no associated channel
- Resolved
-
JENKINS-57229 Clover Plugin: Slave exception while serializing back to master
- Resolved
- links to