JIRA start fail with cannot be cast to java.lang.Comparable

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  1. After installing JIRA, system is not accessible trough the interface.

The following appears in the atlassian-jira.log:

2012-04-20 15:58:02,674 main ERROR      [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)

Cause

Java Version is 1.7 or up (older JIRA versions should not work correctly with newer JAVA versions);

    Java Version                                  : 1.7.0_03 - Oracle Corporation

 

Resolution

Downgrade the JAVA version in order to match with the Supported Platforms of your JIRA version.

 

 

 

 

   

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.