-
Type:
Bug
-
Resolution: Obsolete
-
Priority:
Medium
-
Affects Version/s: 5.0.4, 5.0.5, 5.2.8
-
Component/s: UPM (Universal Plugin Manager)
-
Environment:
RHEL6 x64, JDK 1.7.0_02, confirmed with 1.7.0_04, works with 1.6.0_30, standalone
-
5
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.
- is related to
-
JRASERVER-31670 JDK 1.7 incompatibility: ExtendedSystemInfoUtilsImpl.getPlugins() throws IllegalStateException
-
- Closed
-