[jboss-jira] [JBoss JIRA] Commented: (JBPM-1024) Serializable variables are not being deserialized when retrieved from process

Jay swaminathan (JIRA) jira-events at lists.jboss.org
Tue Sep 4 16:10:11 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPM-1024?page=comments#action_12375238 ] 
            
Jay swaminathan commented on JBPM-1024:
---------------------------------------

Sorry, this is the error I get:

Error getting variable map: An exception of type "org.jbpm.JbpmException" was thrown.  The message is: couldn't deserialize object

Unfortunately, the exception is swallowed somewhere in the execution path.  Based on source code, its clear that it is unable to

readObject() for some reason.  However like I mentioned before, my class implements java.io.Serializable and all it has are three string instance variables.

> Serializable variables are not being deserialized when retrieved from process
> -----------------------------------------------------------------------------
>
>                 Key: JBPM-1024
>                 URL: http://jira.jboss.com/jira/browse/JBPM-1024
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: jBPM 3.1.4
>            Reporter: thilker
>         Assigned To: Tom Baeyens
>
> Storing an serializable object in a process should write an "R" in the column "converter" in table JBPM_VARIABLEINSTANCE.
> But the value of the field is "null".
> The cause:
> The converter ID is retrieved in class org.jbpm.db.hibernate.Converter at line 63.
> For the case of the SerializableToByteArrayConverter the ID is "null".
> Regards,
> Thorsten 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list