Details
-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
5.1.8
-
None
-
5.01
-
Description
If JIRA is not compatible with JDK7, it would be nice for AMPS to error out early and inform the user that JDK7 isn't supported. I was wondering if this was something I'd done wrong...
My environment:
- AMPS 4.1.4
- Oracle JDK 1.7.0_07
- Reproduced on OS X and Linux
Steps to reproduce:
- atlas-create-jira-plugin
- Selected JIRA 5.0 plugin
- atlas-run from within the new plugin directory
Results:
- atlas-run reports "JIRA startup failed, JIRA has been locked."
- See attached log file for errors, the first one being:
2013-02-12 15:25:16,972 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) 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) 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) ...
Workaround:
- Switch to JDK6