Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-34659

Upgrade task for Multi Value Custom Fields coming from JIRA 4.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.4, 5.1, 5.2, 6.0
    • Installation

    Description

      This issue occurs when upgrading from JIRA 4.1 and earlier and using one of the multi value custom field. The issue has been documented in https://confluence.atlassian.com/display/JIRAKB/JIRA+Crashes+while+Creating+an+Issue however a bug report has never been filed.

      Steps to reproduce

      1. On a JIRA 4.1 instance, create a custom field, of type multi select
      2. Add a few values to that field
      3. Run an in-place upgrade to any newer version

      Expected Results

      Upgrades without issue

      Actual Results

      JIRA crashes mid-upgrade with stack trace (below) OR upgrade finishes, but crashes when creating an issue.

      com.thoughtworks.xstream.mapper.CannotResolveClassException: java.util.Collections-UnmodifiableList : java.util.Collections-UnmodifiableList
      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
      at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
      at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
      ...
      

      Workaround

      See the KB article at https://confluence.atlassian.com/display/JIRAKB/JIRA+Crashes+while+Creating+an+Issue

      Attachments

        Activity

          People

            Unassigned Unassigned
            cshim ChrisA
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: