groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null)

Jenkins JIRA | Guillaume Jacquet | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    More recent version (starting with 2.8.1) have a different constructor signature for MavenSettingsConfig. {code} FATAL: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null) groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1491) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1407) at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at javaposse.jobdsl.plugin.ConfigFileProviderHelper.createNewConfig(ConfigFileProviderHelper.groovy:33) at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfigFile(JenkinsJobManagement.java:200) at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedConfigFiles(DslScriptLoader.java:176) at javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.java:127) at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:216) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1745) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code}

    Jenkins JIRA | 2 years ago | Guillaume Jacquet
    groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null)
  2. 0

    More recent version (starting with 2.8.1) have a different constructor signature for MavenSettingsConfig. {code} FATAL: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null) groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1491) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1407) at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at javaposse.jobdsl.plugin.ConfigFileProviderHelper.createNewConfig(ConfigFileProviderHelper.groovy:33) at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfigFile(JenkinsJobManagement.java:200) at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedConfigFiles(DslScriptLoader.java:176) at javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.java:127) at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:216) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1745) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) {code}

    Jenkins JIRA | 2 years ago | Guillaume Jacquet
    groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null)
  3. 0

    POI - User - XSSFWorkbook File constructor not defined in 3.11

    nabble.com | 9 months ago
    groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.apache.poi.xssf.usermodel.XSSFWorkbook(java.io.File)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    slave fails without setting environment

    GitHub | 3 years ago | popsikle
    groovy.lang.GroovyRuntimeException: Could not find matching constructor for: hudson.EnvVars(java.util.ArrayList)
  6. 0

    hockeyapp-prepare task fails

    GitHub | 4 years ago | robertomg
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':hockeyapp-prepare'.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. groovy.lang.GroovyRuntimeException

    Could not find matching constructor for: org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig(java.lang.String, java.lang.String, java.lang.String, java.lang.String, null)

    at groovy.lang.MetaClassImpl.invokeConstructor()
  2. Groovy
    AbstractCallSite.callConstructor
    1. groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1491)
    2. groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1407)
    3. org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46)
    4. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
    5. org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
    5 frames
  3. javaposse.jobdsl.plugin
    JenkinsJobManagement.createOrUpdateConfigFile
    1. javaposse.jobdsl.plugin.ConfigFileProviderHelper.createNewConfig(ConfigFileProviderHelper.groovy:33)
    2. javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateConfigFile(JenkinsJobManagement.java:200)
    2 frames
  4. javaposse.jobdsl.dsl
    DslScriptLoader.runDslEngine
    1. javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedConfigFiles(DslScriptLoader.java:176)
    2. javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.java:127)
    2 frames
  5. javaposse.jobdsl.plugin
    ExecuteDslScripts.perform
    1. javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:216)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    3. hudson.model.Build$BuildExecution.build(Build.java:199)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
    6. hudson.model.Run.execute(Run.java:1745)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:89)
    9. hudson.model.Executor.run(Executor.java:240)
    9 frames