JIRA Upgrade or Startup failed due to UnsupportedOperationException

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

While upgrading JIRA and using JAVA 7, the following appears in the atlassian-jira.log:

2013-08-02 14:42:34,319 localhost-startStop-1 WARN      [factory.transform.stage.ScanDescriptorForHostClassesStage] The plugin 'jira-gadgets-plugin-6.0.5.jar' uses a package 'com.atlassian.jira.dashboard' that is also exported by the application.  It is highly recommended that the plugin use its own packages.
2013-08-02 14:42:39,119 localhost-startStop-1 ERROR      [atlassian.plugin.loaders.ScanningPluginLoader] Unable to deploy plugin 'org.objectweb.asm-3.3.1.v201105211655' from 'Unit: /usr/local/jira-home/plugins/.bundled-plugins/org.objectweb.asm-3.3.1.v201105211655.jar (1374564542000)'.
2013-08-02 14:42:39,120 localhost-startStop-1 ERROR      [atlassian.plugin.loaders.ScanningPluginLoader] Because of the following exception:
java.lang.UnsupportedOperationException
	at java.util.AbstractMap$SimpleImmutableEntry.setValue(AbstractMap.java:759)
	at org.apache.felix.framework.BundleImpl.getCurrentLocalizedHeader(BundleImpl.java:442)
	at org.apache.felix.framework.Felix.getBundleHeaders(Felix.java:1404)
	at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:312)
	at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:294)
...

原因

It's a bug with Felix framework, the argument  -XX:+AggressiveOpts doesn't working with JAVA version 7.

ソリューション

  1. Jira をシャットダウンします。
  2. Remove the argument  -XX:+AggressiveOpts from the start up options;

  3. Jira を再起動します
最終更新日 2018 年 11 月 1 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.