commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] Commented: (LANG-317) Enum Serialization - not backwards compatible
Date Fri, 09 Feb 2007 21:07:05 GMT


Henri Yandell commented on LANG-317:

I believe the solution you need here is that you'll need to define serialVersionUID in your
de.fraport.biaf.apm.user.UserRoleEnum class. The one in the ValuedEnum is private.

> Enum Serialization - not backwards compatible
> ---------------------------------------------
>                 Key: LANG-317
>                 URL:
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: JDK 1.5 -> JDK 1.4
>            Reporter: U. Klinkm├╝ller
>            Priority: Critical
>             Fix For: 2.3
> In our distributed application we have to deal with different environments. The server
runs in a JDK 1.5 environment while some clients runs with JDK 1.4. In this scenario we get
an error when we try to transfer the result object via RMI. The error message is:
> Exception:BusinessDelegatorComp.login() - connection error ocurred during loginCORBA
MARSHAL 0x4942f89a No; nested exception is: 
> 	org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization
UIDs : Source (Rep. IDRMI:de.fraport.biaf.apm.user.UserRoleEnum:CBEF51ADA936FFFE:D100D6F29BD50386)
= D100D6F29BD50386 whereas Target (Rep. ID RMI:de.fraport.biaf.apm.user.UserRoleEnum:CBEF51ADA936FFFE:D041682DA5693C42)
= D041682DA5693C42  vmcid: IBM  minor code: 89A  completed: No
> The class causing this problem is derived from org.apache.commons.lang.enums.ValuedEnum.
Aftre some recherches we found on that there is a upcoming
new release 2.3 of Commons-Lang. We saw that in this release a bug [LANG-286] has been fixed
which seemed to be exactly our problem. We downloaded this version hopening that we can forget
this problem. But unfortunately the problem still exists.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message