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

JIRA 5.0.5 et al. throws ClassCastException on startup from SAL plugin using JDK 1.7.0_02-04

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Medium
    • 6.0
    • 5.0.4, 5.0.5, 5.2.8
    • RHEL6 x64, JDK 1.7.0_02, confirmed with 1.7.0_04, works with 1.6.0_30, standalone

    Description

      The only place I can find another reference to this is at https://answers.atlassian.com/questions/40618/atlas-run-for-sdk-3-8-and-jira-5-0-fails-with-error-in-com-atlassian-sal-jira, but I confirmed that on a fresh JIRA 5.0.5 standalone install, starting up with JDK 1.7 throws:

      2012-06-04 07:25:38,788 http-8080-7 ERROR anonymous 445x17x1 1irm101 10.103.23.166 /secure/SetupDatabase.jspa [atlassian.plugin.manager.PluginEnabler] Unable to enable plugin com.atlassian.sal.jira
      java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.Comparable
              at org.apache.felix.framework.resolver.CandidateComparator.compare(CandidateComparator.java:46)
              at org.apache.felix.framework.resolver.CandidateComparator.compare(CandidateComparator.java:26)
              at java.util.TreeMap.compare(TreeMap.java:1188)
              at java.util.TreeMap.put(TreeMap.java:531)
              at java.util.TreeSet.add(TreeSet.java:255)
              at java.util.AbstractCollection.addAll(AbstractCollection.java:334)
              at java.util.TreeSet.addAll(TreeSet.java:312)
              at org.apache.felix.framework.FelixResolverState.getCandidates(FelixResolverState.java:759)
              at org.apache.felix.framework.resolver.ResolverImpl.populateCandidates(ResolverImpl.java:411)
              at org.apache.felix.framework.resolver.ResolverImpl.resolve(ResolverImpl.java:75)
              at org.apache.felix.framework.Felix$FelixResolver.resolve(Felix.java:3986)
              at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3402)
              at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
              at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
              at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
      

      This issue doesn't show up with JDK1.6.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4c7f42da203a John Knight
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: