java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.Comparable

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Brent Plump [OOO til 17-Oct], 1 year ago
[Ljava.lang.String; cannot be cast to java.lang.Comparable
via Atlassian JIRA by Brent Plump, 1 year ago
[Ljava.lang.String; cannot be cast to java.lang.Comparable
via Atlassian JIRA by John Knight, 1 year ago
[Ljava.lang.String; cannot be cast to java.lang.Comparable
via Atlassian JIRA by John Knight, 1 year ago
[Ljava.lang.String; cannot be cast to java.lang.Comparable
via atlassian.com by Unknown author, 1 year ago
[Ljava.lang.String; cannot be cast to java.lang.Comparable
via Google Groups by Michele Rillo, 10 months ago
[Ljava.lang.String; cannot be cast to java.lang.Comparable
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 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 com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:417)
at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
at com.atlassian.plugin.impl.AbstractDelegatingPlugin.enable(AbstractDelegatingPlugin.java:215)
at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:727)
at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:180)
at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:58)
at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:663)
at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:216)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.