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

Team Concert prevents saving a Jenkins maven job after upgrade to 2.277.1

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Not able to save a job. Getting the below exception in jenkins logs.
      Mar 18, 2021 3:09:33 PM WARNING hudson.init.impl.InstallUncaughtExceptionHandler handleException
      Caught unhandled exception with ID 38b0c0f9-145e-442f-925e-079e81a55f12 java.lang.ClassNotFoundException: cached miss for ["jenkins.mvn.DefaultSettingsProvider","org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider","jenkins.mvn.FilePathSettingsProvider"] at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:2142) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:670) Caused: java.lang.IllegalArgumentException: Class ["jenkins.mvn.DefaultSettingsProvider","org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider","jenkins.mvn.FilePathSettingsProvider"] is specified in JSON, but no such class found in classLoader hudson.PluginManager$UberClassLoader at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:675) Caused: java.lang.IllegalArgumentException: Failed to instantiate class jenkins.mvn.SettingsProvider from {"stapler-class":["jenkins.mvn.DefaultSettingsProvider","org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider","jenkins.mvn.FilePathSettingsProvider"],"$class":["jenkins.mvn.DefaultSettingsProvider","org.jenkinsci.plugins.configfiles.maven.job.MvnSettingsProvider","jenkins.mvn.FilePathSettingsProvider"]} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:682) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:479) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:475) at jenkins.mvn.SettingsProvider.parseSettingsProvider(SettingsProvider.java:36) at hudson.maven.MavenModuleSet.submit(MavenModuleSet.java:1217) at hudson.model.Job.doConfigSubmit(Job.java:1335) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:768) at java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212) at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36) at org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48) at org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:536) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)

        Attachments

          Issue Links

            Activity

            Hide
            alok_1979 Alok Kumar Singh added a comment -

            This is working after removing the team concert plugin.

            Show
            alok_1979 Alok Kumar Singh added a comment - This is working after removing the team concert plugin.
            Hide
            alok_1979 Alok Kumar Singh added a comment -

            Mark Waite : Thank you so much. you are a rockstar . It worked.

            Show
            alok_1979 Alok Kumar Singh added a comment - Mark Waite  : Thank you so much. you are a rockstar . It worked.
            Hide
            markewaite Mark Waite added a comment - - edited

            I was able to duplicate the failure by creating a Jenkins 2.277.1 installation with your plugins list.

            I was able to resolve the failure by disabling the Team Concert Plugin.

            Show
            markewaite Mark Waite added a comment - - edited I was able to duplicate the failure by creating a Jenkins 2.277.1 installation with your plugins list. I was able to resolve the failure by disabling the Team Concert Plugin.
            Hide
            alok_1979 Alok Kumar Singh added a comment -

            Mark Waite Thank you for your help. 

            JenkinsResults.txt

            Show
            alok_1979 Alok Kumar Singh added a comment - Mark Waite  Thank you for your help.  JenkinsResults.txt
            Hide
            markewaite Mark Waite added a comment -

            Please provide the list of plugins installed and their versions as described in "How to report an issue". This might be similar to JENKINS-64116 related to Azure container agents, but it very much depends on the plugins that are installed.

            Show
            markewaite Mark Waite added a comment - Please provide the list of plugins installed and their versions as described in "How to report an issue" . This might be similar to JENKINS-64116 related to Azure container agents, but it very much depends on the plugins that are installed.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              alok_1979 Alok Kumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: