Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-59445

An illegal reflective access operation has occurred While Running Confluence on JRE higher than 1.8

XMLWordPrintable

      Problem

      Noticing the following issue while running Confluence version 7.3.1 on JRE versions higher than 1.8.:

      06-Feb-2020 09:35:42.820 INFO [Catalina-utility-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'
      2020-02-06 09:35:43,007 INFO [Catalina-utility-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 7.3.1 [build 8401 based on commit hash c06149f9b8308a0beb580e4deed399f7fb2d372d] - synchrony version 3.1.0-master-0f086db5
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by com.atlassian.hibernate.adapter.proxy.BytecodeProviderImpl_ImplementV2Proxy (file:/CONF/atlassian/confluence/confluence/WEB-INF/lib/hibernate.adapter-1.0.3.jar\) to field java.lang.reflect.Field.modifiers
      

      We under stand that this error message was introduced from Java 1.9. Even-though the latest versions of Confluence are compatible till Java 11 and some of the docker and standalone installer versions come packaged with this version.

      Environment

      Noticed this in 7.3.1

      Steps to Reproduce

      User standalone installer of Confluence 7.3.1 for either Windows or Linux. This error is noted in random or during upgrade.

      Expected Results

      No error is expected.

      Actual Results

      Observing the error message noted above.

      Workaround

      None.

      Notes

              Unassigned Unassigned
              sganeshan@atlassian.com Sathya Ganeshan
              Votes:
              17 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated: