Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-1024

Serializable variables are not being deserialized when retrieved from process

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.2.3
    • jBPM 3.1.4, jBPM 3.2.2
    • Runtime Engine
    • None
    • Workaround Exists
    • Hide

      Take the custom serializable classes to be stored as variables out of the process archive and put them in a location in the classpath accessible to the classloader that loaded the jBPM classes.

      Show
      Take the custom serializable classes to be stored as variables out of the process archive and put them in a location in the classpath accessible to the classloader that loaded the jBPM classes.

      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

              aguizar_jira Alejandro Guizar (Inactive)
              thilker_jira thilker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: