-
1. Re: Wildfly cluster: session de-serialization fails
rhusar Oct 15, 2014 11:24 AM (in response to mbolcina)What version of WildFly is this?
-
2. Re: Wildfly cluster: session de-serialization fails
pferraro Oct 15, 2014 11:33 AM (in response to mbolcina)It's a little hard to tell what's happening here. I'm not at all familiar with vaadin, but given the exception, it looks to me like the VaadinSession class descriptor isn't getting serialized properly (i.e. it is missing the module identifier expected by ModularClassResolver).
-
3. Re: Wildfly cluster: session de-serialization fails
mbolcina Oct 16, 2014 1:53 AM (in response to mbolcina)1 of 1 people found this helpfulProblem was with serialization of this class. If array is length 0, then deserialization fails. If i put something in this array, then deserialization is successful.
public class WindowState extends PanelState {
public Connector[] contentDescription = new Connector[0];
...
}
For now i use workaround to always set this field, so that array is not empty. But shouldn't empty array work with jboss marshalling, or is this some know issue?
-
4. Re: Wildfly cluster: session de-serialization fails
jaikiran Oct 16, 2014 2:15 AM (in response to mbolcina)M Bol wrote:
Problem was with serialization of this class. If array is length 0, then deserialization fails. If i put something in this array, then deserialization is successful.
This sounds similar to the other issue being discussed here https://developer.jboss.org/thread/249485
-
5. Re: Wildfly cluster: session de-serialization fails
mbolcina Oct 16, 2014 2:56 AM (in response to rhusar)WildFly version 8.1.0.Final
-
6. Re: Wildfly cluster: session de-serialization fails
jaikiran Oct 17, 2014 12:57 AM (in response to mbolcina)This looks more like a JBoss Marshalling thing which perhaps dmlloyd might know more of.
-
7. Re: Wildfly cluster: session de-serialization fails
dmlloyd Oct 17, 2014 9:05 AM (in response to jaikiran)I don't see anything in JBoss Marshalling which explains this behavior. The treatment of empty and non-empty arrays is essentially the same. I agree with Paul though, something funny is happening with the class resolver.
-
8. Re: Wildfly cluster: session de-serialization fails
pferraro Nov 4, 2014 7:12 PM (in response to mbolcina)FYI - David just committed a fix for this issue in JBoss Marshalling:
-
9. Re: Wildfly cluster: session de-serialization fails
rhn-it-pulgupta Jul 13, 2017 9:45 AM (in response to pferraro)Hi Paul,
Is there a way we can find out in which version of EAP this fix was released.
Regards,
Pulkit
-
10. Re: Wildfly cluster: session de-serialization fails
pferraro Jul 13, 2017 11:02 AM (in response to rhn-it-pulgupta)This was fixed in JBoss Marshalling 2.0.0.Beta3, which was part of wildfly-core 3.0.0.Alpha15, and thus was fixed as of EAP 7.1.0.DR10.