[jboss-jira] [JBoss JIRA] (AS7-3229) OptionalDataException failure during deserialization of nested bean

Scott Marlow (JIRA) jira-events at lists.jboss.org
Wed Jan 11 23:05:22 EST 2012


    [ https://issues.jboss.org/browse/AS7-3229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655394#comment-12655394 ] 

Scott Marlow commented on AS7-3229:
-----------------------------------

This test output shows that the following has occurred previous to the OptionalDataException http://pastie.org/3170217.

1.  the test stopped node1
2.  the test called test bean method Stateful.getEmployee(int empid) to read an entity that is in the extended persistence context.  During the invocation, the OptionalDataException is eventually thrown.  Before invoking the method, the remaining below steps occurred...
3.  We deserialize the serialization group twice (I don't think that is related to this error).  The deserialized payload (one of them), is what we will invoke on node2.
4.  From the Hibernate/JPA serialization trace messages, I can see that the OptionalDataException has occurred after we have finished deserializing the XPC for the second time.  So, its when we are deserializing something else (called from SerializationGroupMemberContainer.postReplicate()).
5.  From the error message (Failed to deserialize 254c097f-aa90-4016-8d9d-8d1d7a9e8505), I can see the InfinispanBackingCacheEntryStore entry id = 254c097f-aa90-4016-8d9d-8d1d7a9e8505 whatever that means to us (might need more trace logging added that shows what each entry id really is).

Additional context printed after the OptionalDataException is:

EJB Invocation failed on component StatefulBean for method public abstract org.jboss.as.test.clustering.unmanaged.ejb3.xpc.bean.Employee org.jboss.as.test.clustering.unmanaged.ejb3.xpc.bean.Stateful.getEmployee(int): java.lang.IllegalArgumentException: JBAS010361: Failed to deserialize 254c097f-aa90-4016-8d9d-8d1d7a9e8505
                
> OptionalDataException failure during deserialization of nested bean
> -------------------------------------------------------------------
>
>                 Key: AS7-3229
>                 URL: https://issues.jboss.org/browse/AS7-3229
>             Project: Application Server 7
>          Issue Type: Sub-task
>          Components: Clustering
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 7.1.0.Final
>
>
> Test case branch link is coming (I need to recreate it without the Hibernate 4.0.1-SNAPSHOT dependency).
> The bug didn't recreate with the simple test https://github.com/scottmarlow/jboss-as/commits/AS7-3229.  Might need to push the XPC serialization changes before it can be recreated.
> Exception call stack http://pastie.org/3155867

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list