Wednesday, October 04, 2006

Invalid class exception

The following exception sometimes appears when working with serialization, especially in the case of EJB remote access (where Serializable classes, including Exceptions, are passed from server to client):

java.io.InvalidClassException: org.firebirdsql.jdbc.FBSQLException;
local class incompatible:
stream classdesc serialVersionUID = 3969094886006956637,
local class serialVersionUID = -3559440527871139169
This is always a warning that the library versions of this class differ between server and client.

No comments: