Java17 Error on agent start

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical
    • Component/s: envinject-plugin
    • None
    • Environment:
      plugin version: 2.866.v5c0403e3d4df
      Jenkins 2.357
    • 2.875.v9b_9e962da_a_ec

      Error while lunching agent on Java 17

      ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins
      java.lang.NoSuchFieldException: modifiers
      	at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
      	at org.jenkinsci.plugins.envinject.service.EnvInjectMasterEnvVarsSetter.call(EnvInjectMasterEnvVarsSetter.java:35)
      Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 172.31.3.96/172.31.3.96:58080 

            Assignee:
            Unassigned
            Reporter:
            Konstantin Bulanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: