-
Improvement
-
Resolution: Unresolved
-
Major
-
None
Deserialisation errors seen with class hudson.EnvVars:
java.io.InvalidClassException: hudson.EnvVars; local class incompatible: stream classdesc serialVersionUID = -234198271843838088, local class serialVersionUID = 4320331661987259022
hudson.EnvVars is serialisable, but doesn't have a serialVersionUID. The generated one has changed between v2.138 (-234198271843838088) & v2.150 (4320331661987259022) causing these deserialisation errors.
This is to ensure the compatibility with a derived tool and as it's good practise to have a static serialVersionUID, we should add it.
- links to
[JENKINS-56161] EnvVars deserialisation failure due to changed serialVersionUID
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Remote Link | New: Cette demande est liée à "PR-3897 (Lien Web)" [ 22386 ] |
Description |
Original:
Deserialisation errors seen with class `hudson.EnvVars`: `java.io.InvalidClassException: hudson.EnvVars; local class incompatible: stream classdesc serialVersionUID = -234198271843838088, local class serialVersionUID = 4320331661987259022` `hudson.EnvVars` is serialisable, but doesn't have a `serialVersionUID`. The generated one has changed between v2.138 (-234198271843838088) & v2.150 (4320331661987259022) causing these deserialisation errors when CJOC runs remote operations on a master at a different version. |
New:
Deserialisation errors seen with class {{hudson.EnvVars}}: {noformat} java.io.InvalidClassException: hudson.EnvVars; local class incompatible: stream classdesc serialVersionUID = -234198271843838088, local class serialVersionUID = 4320331661987259022{noformat} {{hudson.EnvVars}} is serialisable, but doesn't have a {{serialVersionUID.}} The generated one has changed between v2.138 (-234198271843838088) & v2.150 (4320331661987259022) causing these deserialisation errors when CJOC runs remote operations on a master at a different version. |
Comment | [ I see you are speaking about CJOC, so I guess you have support for this. Is this something you spoke about with CloudBees support? ] |
Description |
Original:
Deserialisation errors seen with class {{hudson.EnvVars}}: {noformat} java.io.InvalidClassException: hudson.EnvVars; local class incompatible: stream classdesc serialVersionUID = -234198271843838088, local class serialVersionUID = 4320331661987259022{noformat} {{hudson.EnvVars}} is serialisable, but doesn't have a {{serialVersionUID.}} The generated one has changed between v2.138 (-234198271843838088) & v2.150 (4320331661987259022) causing these deserialisation errors when CJOC runs remote operations on a master at a different version. |
New:
Deserialisation errors seen with class {{hudson.EnvVars}}: {noformat} java.io.InvalidClassException: hudson.EnvVars; local class incompatible: stream classdesc serialVersionUID = -234198271843838088, local class serialVersionUID = 4320331661987259022{noformat} {{hudson.EnvVars}} is serialisable, but doesn't have a {{serialVersionUID.}} The generated one has changed between v2.138 (-234198271843838088) & v2.150 (4320331661987259022) causing these deserialisation errors. This is to ensure the compatibility with a derived tool and as it's good practise to have a static {{serialVersionUID}}, we should add it. |