Install4J runtime library throws exception when running the Jira 9.11 installer on Linux
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Java 17 has been supported since Jira 9.5.0. In Jira 9.11.0, we've started to bundle Java 17 with Jira binaries (both archives and installers) for Linux and Windows. In Jira 9.11.0, there is an issue with the Install4J runtime library in the Linux installer.
診断
The Jira 9.11.0 installer for Linux running on Java 17 throws a method invocation exception:
例 1
Unpacking JRE ...
Starting Installer ...
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor (file:/data/download/atlassian-jira-software-9.11.0-x64.bin.5095.dir/i4jruntime.jar\)
WARNING: Please consider reporting this to the maintainers of com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor
WARNING: System::setSecurityManager will be removed in a future release
java.lang.NoSuchFieldException: override
at java.base/java.lang.Class.getDeclaredField(Unknown Source)
at com.install4j.runtime.util.internal.ReflectionUtil.setUnsafeAccessible(ReflectionUtil.java:46)
at com.install4j.runtime.util.internal.ReflectionUtil.setAccessible(ReflectionUtil.java:19)
at com.install4j.runtime.util.ToolTipHelpLabel.initTooltipManager(ToolTipHelpLabel.java:21)
at com.install4j.runtime.util.ToolTipHelpLabel.registerWithToolTipManager(ToolTipHelpLabel.java:61)
at com.install4j.runtime.util.ToolTipHelpLabel.<init>(ToolTipHelpLabel.java:38)
at com.install4j.runtime.beans.formcomponents.UpdateAlertComponent.createCenterComponent(UpdateAlertComponent.java:109)
at com.install4j.runtime.installer.frontend.FormPanel.addFormComponent(FormPanel.java:508)
at com.install4j.runtime.installer.frontend.FormPanel.buildPanel(FormPanel.java:382)
at com.install4j.runtime.installer.frontend.FormPanel.setupComponent(FormPanel.java:310)
at com.install4j.runtime.installer.frontend.FormPanel.init(FormPanel.java:65)
at com.install4j.runtime.installer.frontend.FormPanel.<init>(FormPanel.java:55)
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.handleScreen(ConsoleScreenExecutor.java:44)
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.execute(AbstractHeadlessScreenExecutor.java:96)
at com.install4j.runtime.installer.controller.Controller$1.run(Controller.java:155)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)例 2
Unpacking JRE ...
Starting Installer ...
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor (file:/home/ubuntu/Downloads/atlassian-jira-software-9.11.0-x64.bin.24170.dir/i4jruntime.jar)
WARNING: Please consider reporting this to the maintainers of com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor
WARNING: System::setSecurityManager will be removed in a future release
You do not have administrator rights to this machine and as such, some installation options will not be available. Are you sure you want to continue?
Yes [y, Enter], No [n]原因
The traceback is caused by the incompatibility of the version of Install4J bundled with Jira binaries for Linux with Java 17.
ソリューション
Since the traceback message doesn't have any functional impact on Jira applications, no manual intervention is required. A fix for this has been released in Jira 9.12.1 and later, see also JRASERVER-76267 - Install4J Runtime library throws an exception when running Jira 9.11.0 installer .
この内容はお役に立ちましたか?