RemoteAccessException does not have the serialVersionUID defined [SPR-4826] #9502
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Gabriel Rosu opened SPR-4826 and commented
Having two tiers of the application on two physical boxes running SunOS 5.10 and sun's JDK 1.4.2_13 we're running into a deserializing problem when one of them throws an exception against the other. Here's the stacktrace:
2008-05-01 00:05:06,158 ERROR [ExecuteThread: '87' for queue: 'weblogic.kernel.Default'] svc.impl.InventorySvcImpl - java.rmi.UnmarshalException: Problem deserializing error response; nested exception is:
java.io.InvalidClassException: org.springframework.remoting.RemoteAccessException; local class incompatible: stream classdesc serialVersionUID = 3787812861223238444, local class serialVersionUID = -4906825139312227864
Note that our embedded exception has the serializeVersionUID set and we have the same version of it on both tiers; also have the same spring 2.0.8 version on both tiers.
We did notice that the RemoteAccessException does not have the serialVersionUID defined and we looked to see if version 2.5 would have that but it's still missing so upgrading spring would not help.
Affects: 2.0.6, 2.0.8
Backported to: 2.0.9
The text was updated successfully, but these errors were encountered: