Issue Details (XML | Word | Printable)

Key: JAMES-639
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Norman Maurer
Reporter: Norman Maurer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JAMES Server

SerialUID is not hardcoded

Created: 28/Sep/06 08:18 AM   Updated: 21/Nov/07 08:31 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.3.0

Time Tracking:
Not Specified

Resolution Date: 28/Sep/06 05:38 PM


 Description  « Hide
We have the problem that the SerialUID is not hardcoded in all necassary places. I tried to upgrade to a newer version and get:

28/09/06 09:47:08 ERROR smtpserver: Exception occured:Exception retrieving Userj
ava.lang.RuntimeException: Exception caught while retrieving an object, cause: j
ava.io.InvalidClassException: org.apache.james.userrepository.DefaultJamesUser;
local class incompatible: stream classdesc serialVersionUID = 632395997639038952
9, local class serialVersionUID = 7831760815493486319
28/09/06 09:47:26 INFO smtpserver: Connection from nm.it-mn.de (213.157.14.195)
28/09/06 09:47:27 ERROR smtpserver: Exception occured:Exception retrieving Userj
ava.lang.RuntimeException: Exception caught while retrieving an object, cause: j
ava.io.InvalidClassException: org.apache.james.userrepository.DefaultJamesUser;
local class incompatible: stream classdesc serialVersionUID = 632395997639038952
9, local class serialVersionUID = 7831760815493486319




 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Norman Maurer added a comment - 28/Sep/06 09:20 AM
Im almost sure we should harcode the SerialVersionUID in all Serizable classes and backport the Changes to 2.3.0

Norman Maurer added a comment - 28/Sep/06 05:52 PM
Move to rc4

Danny Angus added a comment - 21/Nov/07 08:31 AM
Closing issue fixed in released version.