Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-76267

Install4J Runtime library throws an exception when running Jira 9.11.0 installer

XMLWordPrintable

      Problem

      Jira 9.11.0 installer requires an upgrade since the library "Install4J Runtime" throws a method invocation exception (NoSuchFieldException)

      Environment

      Linux

      Steps to Reproduce

      • Download Linux 64 bit installer for Jira software on a Linux enviroment
      • Update execution mode to a+x
      • Run the installer

      Expected Results

      • The installer will run the first tests to validate if the executing user is an administrator

      (Add expected results for current action)

      Actual Results

      The installer throws different exceptions and warnings

      Example 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)
      

      Example 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]
      
      

      Workaround

      Currently, no workaround is available 

              c76190bb6a9f Mykhailo Kratiuk (Inactive)
              f0ea184c9b1c Mohamed Kouki
              Votes:
              18 Vote for this issue
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: