Install4J runtime library throws exception when running the Jira 9.11 installer on Linux

お困りですか?

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

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*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. We're working on delivering a fix for the problem in an upcoming release of Jira. You can track the work here:

JRASERVER-76267 - Getting issue details... STATUS


最終更新日: 2023 年 10 月 27 日

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

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