java.lang.IllegalArgumentException: Jenkins already contains an item 'MyGeneratedJob'

Jenkins JIRA | Sylvain Benner | 3 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

    Intermittent: Pipeline builds stop working after a while

    GitHub | 3 months ago | csrwng
    java.lang.IllegalArgumentException: Jenkins already contains an item 'xxia-pipeline-sample-pipeline'
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [JIRA] (JENKINS-39137) Exception when trying to create a job in missing folder

    Google Groups | 5 months ago | ma...@daniel-spilker.com (JIRA)
    java.lang.IllegalArgumentException: nested already contains an item 'foo'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Jenkins already contains an item 'MyGeneratedJob'

      at hudson.model.ItemGroupMixIn.createProjectFromXML()
    2. Hudson
      ItemGroupMixIn.createProjectFromXML
      1. hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:227)
      1 frame
    3. jenkins.model
      Jenkins.createProjectFromXML
      1. jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:2944)
      1 frame
    4. org.jenkinsci.plugins
      GeneratorRun$GeneratorImpl.doRun
      1. org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:424)
      1 frame
    5. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      2. hudson.model.Run.execute(Run.java:1677)
      2 frames
    6. org.jenkinsci.plugins
      GeneratorRun.run
      1. org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:281)
      1 frame
    7. Hudson
      OneOffExecutor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:231)
      3. hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)
      3 frames