Dynamic Tasklist broken with JDK6

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 2.4.3
    • Component/s: None
    • Environment:

      Linux Tomcat and JDK 1.6

      Dynamic Tasklist is broken with JDK6. When you return to the page with the tasklist, you receive:

      com.thoughtworks.xstream.converters.ConversionException: Invalid final field java.util.Collections$SynchronizedCollection.c

      ---- Debugging information ----

      message : Invalid final field java.util.Collections$SynchronizedCollection.c

      line number : 10

      path : /com.atlassian.confluence.extra.dynamictasklist.model.TaskList/tasks/java.util.Collections-SynchronizedCollection/default/c

      cause-message : Invalid final field java.util.Collections$SynchronizedCollection.c

      class : com.atlassian.confluence.extra.dynamictasklist.model.TaskList

      cause-exception : com.thoughtworks.xstream.converters.reflection.ObjectAccessException

      required-type : java.util.Collections$SynchronizedRandomAccessList

      -------------------------------

      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:45)

      at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)

      at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.unmarshal(ReflectionConverter.java:100)

      at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)

      at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)

      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)

      at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)

      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:549)

      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:537)

      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:505)

      at com.thoughtworks.xstream.XStream.fromXML(XStream.java:496)

      at com.atlassian.confluence.extra.dynamictasklist.TaskListManager.getTaskList(TaskListManager.java:33)

      at com.atlassian.confluence.extra.dynamictasklist.TaskListAction.getTaskList(TaskListAction.java:124)

            Assignee:
            Unassigned
            Reporter:
            Yann Doussot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: