myGrid
  1. myGrid
  2. TAV-604

Serialisation & deserialisation of Data documents

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None

      Description

      Currently the beanable infrastructure doesn't work within a Raven environment, as when the XMLEncoded representation of the bean is deserialised ClassNotFound exceptions occur. This is because it is trying to find a class by name using reflection.
      This had been found to occur with workflows that contains lists, leading to a ClassNotFound exception whilst looking for the EntityList class.

        Issue Links

          Activity

          Hide
          Stuart Owen added a comment -

          Attached an small program that demonstrates the problem.

          Need to first run 'mvn install', the conf/raven.properties needs editing to change raven.repository.0 to point to your local maven repository.
          The data store is hard-coded to /tmp/datastuff in Tester.java so without changing this will currently only run on mac / linux.

          Run executeworkflow.sh to start the test (need to be in the same directory as the profile location in raven.properties is set to be simply file:t2-profile.xml)

          Show
          Stuart Owen added a comment - Attached an small program that demonstrates the problem. Need to first run 'mvn install', the conf/raven.properties needs editing to change raven.repository.0 to point to your local maven repository. The data store is hard-coded to /tmp/datastuff in Tester.java so without changing this will currently only run on mac / linux. Run executeworkflow.sh to start the test (need to be in the same directory as the profile location in raven.properties is set to be simply file:t2-profile.xml )
          Hide
          Ian Dunlop added a comment -

          Uses JAXB annotations on the Beans and SPI using the BeanableFactory to register the classes which can be serialised

          Show
          Ian Dunlop added a comment - Uses JAXB annotations on the Beans and SPI using the BeanableFactory to register the classes which can be serialised

            People

            • Assignee:
              Stian Soiland-Reyes
              Reporter:
              Stuart Owen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: