Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-40981

IllegalStateException when installing plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • jenkins 2.32.1
      config-file-provider 2.15.3
      fresh installation, only support-core plugin installed to gather support bundle.

      Steps to reproduce:

      • Go to Manage plugins and install config-file-provider plugin.
      • DO NOT restart.
      • See error in logs (attached together with Support Bundle).

      Actual behaviour:

      • Sometimes plugin is not available (not accessible in configuration or folder) until Jenkins is restarted.

      Expected behaviour:

      • Plugin is always available without a restart.

      The constructor for ConfigFilesManagement class is calling static method GlobalConfigFiles.get(), which is requesting Jenkins for an instance of this class. Sometimes this seems to be made before Jenkins actually processes the class.

        1. log.txt
          9 kB
          Evaristo Gutierrez

            domi Dominik Bartholdi
            egutierrez Evaristo Gutierrez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: