Incompatibility between dynamic tasklist entries created on JDK 1.4 and JDK 5

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: High
    • None
    • Affects Version/s: 2.1.1, 2.1.2, 2.1.3
    • Component/s: None
    • Environment:

      SUN JDK 1.4.2 -> SUN JDK5

      How to reproduce:

      1. Start confluence with JDK1.4.2, create a dynamictasklist and add a task
      2. Stop confluence, switch to JDK5, restart confluence and access the page with the macro

      The following appears in the page:

      Cause:
      com.thoughtworks.xstream.converters.ConversionException: Cannot construct java.util.Collections$SynchronizedRandomAccessList: java.util.Collections$SynchronizedRandomAccessList ---- Debugging information ---- required-type : java.util.Collections$SynchronizedRandomAccessList cause-message : Cannot construct java.util.Collections$SynchronizedRandomAccessList: java.util.Collections$SynchronizedRandomAccessList class : com.atlassian.confluence.extra.dynamictasklist.model.TaskList message : Cannot construct java.util.Collections$SynchronizedRandomAccessList: java.util.Collections$SynchronizedRandomAccessList line number : 3 path : /com.atlassian.confluence.extra.dynamictasklist.model.TaskList/tasks cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException -------------------------------

      com.thoughtworks.xstream.converters.ConversionException: Cannot construct java.util.Collections$SynchronizedRandomAccessList: java.util.Collections$SynchronizedRandomAccessList
      ---- Debugging information ----
      required-type : java.util.Collections$SynchronizedRandomAccessList
      cause-message : Cannot construct java.util.Collections$SynchronizedRandomAccessList: java.util.Collections$SynchronizedRandomAccessList
      class : com.atlassian.confluence.extra.dynamictasklist.model.TaskList
      message : Cannot construct java.util.Collections$SynchronizedRandomAccessList: java.util.Collections$SynchronizedRandomAccessList
      line number : 3
      path : /com.atlassian.confluence.extra.dynamictasklist.model.TaskList/tasks
      cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException

      The bug is reported here http://jira.codehaus.org/browse/XSTR-202

      Could you please implement the alias suggested by Joe Walnes's comment?

      Note that this is a blocking for anyone willing to switch to JDK5 ; Hopefully, we switched very soon so we lost only one task list.

            Assignee:
            Unassigned
            Reporter:
            Stephane Nicoll
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: