Cannot serialise custom objects defined in plugins using Bandana

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.3
    • Affects Version/s: None
    • Component/s: None
    • None

      Bandana does not currently search the plugin classloader when serialising.

      An error similar to this results if a plugin author tries to save custom objects using bandana:

      [ConfluenceBandanaPersister] Error loading stream for context :
      [com.atlassian.confluence.setup.bandana.ConfluenceBandanaContext@13fe9,
      spaceKey='SBX']
      com.thoughtworks.xstream.converters.ConversionException:
      com.host.com.TestObject :
      com.host.com.TestObject
      ---- Debugging information ----
      required-type : java.util.HashMap
      cause-message : com.host.com.TestObject :
      com.host.com.TestObject
      class :
      com.atlassian.confluence.setup.bandana.ConfluenceBandanaConfigMap
      message : com.host.com.TestObject :
      com.host.com.TestObject
      line number : 17
      path :
      /confluence-config-map/values/entry[2]/com.host.com.TestObject
      cause-exception :
      com.thoughtworks.xstream.alias.CannotResolveClassException
      -------------------------------

              Assignee:
              Unassigned
              Reporter:
              dave (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: