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

David Lloyd (JIRA) jira-events at lists.jboss.org
Thu Jan 12 10:44:21 EST 2012


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

David Lloyd commented on AS7-3229:
----------------------------------

OptionalDataException relates to improperly written readObject/writeObject methods.  The org.jboss.as.ejb3.component.stateful.StatefulSessionBeanObjectResolver.SerializableAdapter class does has non-spec compliant implementations of these methods which result in undefined behavior.  Each of these methods must first call the read or write fields method, even if there are no fields on the object class.
                
> 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