Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-5314

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 2.1.1, 2.1.2, 2.1.3
    • None
    • SUN JDK 1.4.2 -> SUN JDK5

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              17b12069583b Stephane Nicoll
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: