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

system configure can't save because maven error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None
    • jenkins 2.462.3 maven plugin 3.24

      java.lang.IllegalArgumentException: The frontend sent an unexpected list of classes (["hudson.maven.local_repo.DefaultLocalRepositoryLocator","hudson.maven.local_repo.PerExecutorLocalRepositoryLocator","hudson.maven.local_repo.PerJobLocalRepositoryLocator"]) rather than an expected single class. See https://www.jenkins.io/doc/developer/views/table-to-div-migration/ for more information. at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:808) Caused: java.lang.IllegalArgumentException: Failed to instantiate class hudson.maven.local_repo.LocalRepositoryLocator from {"stapler-class":["hudson.maven.local_repo.DefaultLocalRepositoryLocator","hudson.maven.local_repo.PerExecutorLocalRepositoryLocator","hudson.maven.local_repo.PerJobLocalRepositoryLocator"],"$class":["hudson.maven.local_repo.DefaultLocalRepositoryLocator","hudson.maven.local_repo.PerExecutorLocalRepositoryLocator","hudson.maven.local_repo.PerJobLocalRepositoryLocator"]} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:834) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:589) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:584) at PluginClassLoader for maven-plugin//hudson.maven.MavenModuleSet$DescriptorImpl.configure(MavenModuleSet.java:1441) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:4109) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:4073) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:416) Caused: java.lang.reflect.InvocationTargetException at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:420) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:429) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:211) at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:37) 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:138) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:644) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:61) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:827) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:965) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:898) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:965) at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:548) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:827) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:965) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.service(Stapler.java:253) at Jenkins Main ClassLoader//javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)

       

       

      ........

      Caught unhandled exception with ID 32d083d1-e04c-4e0b-abf4-a924137c7a21 java.lang.IllegalArgumentException: The frontend sent an unexpected list of classes (["hudson.maven.local_repo.DefaultLocalRepositoryLocator","hudson.maven.local_repo.PerExecutorLocalRepositoryLocator","hudson.maven.local_repo.PerJobLocalRepositoryLocator"]) rather than an expected single class. See https://www.jenkins.io/doc/developer/views/table-to-div-migration/ for more information. at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:808) Caused: java.lang.IllegalArgumentException: Failed to instantiate class hudson.maven.local_repo.LocalRepositoryLocator from {"stapler-class":["hudson.maven.local_repo.DefaultLocalRepositoryLocator","hudson.maven.local_repo.PerExecutorLocalRepositoryLocator","hudson.maven.local_repo.PerJobLocalRepositoryLocator"],"$class":["hudson.maven.local_repo.DefaultLocalRepositoryLocator","hudson.maven.local_repo.PerExecutorLocalRepositoryLocator","hudson.maven.local_repo.PerJobLocalRepositoryLocator"]} at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:834) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:589) at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:584) at PluginClassLoader for maven-plugin//hudson.maven.MavenModuleSet$DescriptorImpl.configure(MavenModuleSet.java:1441) at jenkins.model.Jenkins.configureDescriptor(Jenkins.java:4109) at jenkins.model.Jenkins.doConfigSubmit(Jenkins.java:4073) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:416) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:429) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:211) at org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:37) 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:138) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:644) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:61) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:827) Caused: javax.servlet.ServletException at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:965) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:898) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:965) at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:548) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:827) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:965) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.service(Stapler.java:253) at Jenkins Main ClassLoader//javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:163) at jenkins.util.HttpServletFilter$1.doFilter(HttpServletFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:160) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:166) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) at jenkins.ErrorAttributeFilter.doFilter(ErrorAttributeFilter.java:29) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:154) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) at Jenkins Main ClassLoader//org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94) at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126)

            Unassigned Unassigned
            fynn fynn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: