org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Unable to create new repository: codehaus-snapshots

Sonatype JIRA | Juven Xu | 8 years ago
  1. 0

    while importing a repo which id is conflicted with existing nexus repo id, I am able to select "merge" in UI and then merge the 2 repos but when I don't select the "merge", I got the following exception: {noformat} jvm 1 | 2009-04-22 20:17:57 ERROR - o.s.n.p.m.a.Artifac~:default - Failed to import repository 'codehaus-snapshots': Unable to create new repository: codehaus-snapshots jvm 1 | org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Unable to create new repository: codehaus-snapshots jvm 1 | at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createRepository(DefaultArtifactoryMigrator.java:525) jvm 1 | at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importRepository(DefaultArtifactoryMigrator.java:439) jvm 1 | at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importRepositories(DefaultArtifactoryMigrator.java:378) jvm 1 | at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:207) jvm 1 | at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:619) jvm 1 | Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! jvm 1 | Validation errors follows: jvm 1 | o id - The Repository ID 'codehaus-snapshots' conflicts with an existing Repository ID jvm 1 | jvm 1 | Validation warnings follows: jvm 1 | o id - Repository with ID='codehaus-snapshots' has no name, defaulted to it's ID. jvm 1 | jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepository(DefaultNexusConfiguration.java:776) jvm 1 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepository(DefaultNexusConfiguration.java:789) jvm 1 | at org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:495) jvm 1 | at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createRepository(DefaultArtifactoryMigrator.java:521) jvm 1 | ... 13 more {noformat} the user should be warned that, if not merge, the repo would be abandoned, and no exception should arise.

    Sonatype JIRA | 8 years ago | Juven Xu
    org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Unable to create new repository: codehaus-snapshots
  2. 0

    This is happening in the lastest release: 2009-08-04 08:08:55 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: codehaus-snapshots 2009-08-04 08:08:55 ERROR [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to import repository 'codehaus-snapshots': Unable to create new repository: codehaus-snapshots org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Unable to create new repository: codehaus-snapshots at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createRepository(DefaultArtifactoryMigrator.java:533) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importRepository(DefaultArtifactoryMigrator.java:448) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importRepositories(DefaultArtifactoryMigrator.java:387) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:210) at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o id - The Repository ID 'codehaus-snapshots' conflicts with an existing Repository ID Validation warnings follows: o id - Repository with ID='codehaus-snapshots' has no name, defaulted to it's ID. at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepository(DefaultNexusConfiguration.java:777) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepository(DefaultNexusConfiguration.java:790) at org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:496) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createRepository(DefaultArtifactoryMigrator.java:529) ... 13 more 2009-08-04 08:08:55 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: ext-releases 2009-08-04 08:08:55 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: ext-relea

    Sonatype JIRA | 7 years ago | Marvin Herman Froeder
    org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Unable to create new repository: codehaus-snapshots
  3. 0

    Complete an Artifactory import using the full-releases.zip => The following is logged in the migration.log: {noformat} 2009-04-24 15:37:26 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing Artifactory Backup from file: 'C:\Nexus_Utilities_and_Information\Artifactory Migration\full-releases.zip'. 2009-04-24 15:37:26 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Unpacking backup file 2009-04-24 15:40:13 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Parsing artifactory.config.xml 2009-04-24 15:40:13 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Parsing security.xml 2009-04-24 15:40:13 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repositories 2009-04-24 15:40:13 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: codehaus 2009-04-24 15:40:16 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: codehaus 2009-04-24 15:40:16 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: ext-releases-local 2009-04-24 15:40:18 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: ext-releases-local 2009-04-24 15:40:18 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: ext-snapshots-local 2009-04-24 15:40:19 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: ext-snapshots-local 2009-04-24 15:40:19 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: java.net.m1 2009-04-24 15:40:23 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: java.net.m1-releases, java.net.m1-snapshots 2009-04-24 15:40:23 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Spooling the creation of repository metadatas for repository java.net.m1-snapshots 2009-04-24 15:40:23 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Spooling the creation of repository metadatas for repository java.net.m1-releases 2009-04-24 15:40:23 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: java.net.m2 2009-04-24 15:40:26 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: java.net.m2-releases, java.net.m2-snapshots 2009-04-24 15:40:26 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Spooling the creation of repository metadatas for repository java.net.m2-snapshots 2009-04-24 15:40:26 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Spooling the creation of repository metadatas for repository java.net.m2-releases 2009-04-24 15:40:26 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: jboss 2009-04-24 15:40:27 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: jboss 2009-04-24 15:40:27 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: libs-releases-local 2009-04-24 15:40:27 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: libs-releases-local 2009-04-24 15:43:04 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Spooling the creation of repository metadatas for repository libs-releases-local 2009-04-24 15:43:04 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: libs-snapshots-local 2009-04-24 15:43:05 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: libs-snapshots-local 2009-04-24 15:43:06 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: plugins-releases-local 2009-04-24 15:43:07 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: plugins-releases-local 2009-04-24 15:43:07 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: plugins-snapshots-local 2009-04-24 15:43:08 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Copying cached artifacts to: plugins-snapshots-local 2009-04-24 15:43:08 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing repository: repo1 2009-04-24 15:43:08 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing groups 2009-04-24 15:43:08 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing group: libs-releases 2009-04-24 15:43:12 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing group: libs-snapshots 2009-04-24 15:43:12 ERROR [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to add a 'maven1' virtual repository for repository 'java.net.m1': Error creating shadow repo: java.net.m1-releases org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Error creating shadow repo: java.net.m1-releases at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:711) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.addVirtualRepository(DefaultArtifactoryMigrator.java:673) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importGroups(DefaultArtifactoryMigrator.java:601) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:216) at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o id - Virtual Repository ID 'java.net.m1-releases-virtual' conflicts with an existing Virtual Repository ID at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:972) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryShadow(DefaultNexusConfiguration.java:985) at org.sonatype.nexus.DefaultNexus.createRepositoryShadow(DefaultNexus.java:568) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:707) ... 13 more 2009-04-24 15:43:13 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing group: plugins-releases 2009-04-24 15:43:13 ERROR [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to add a 'maven1' virtual repository for repository 'java.net.m1': Error creating shadow repo: java.net.m1-releases org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Error creating shadow repo: java.net.m1-releases at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:711) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.addVirtualRepository(DefaultArtifactoryMigrator.java:673) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importGroups(DefaultArtifactoryMigrator.java:601) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:216) at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o id - Virtual Repository ID 'java.net.m1-releases-virtual' conflicts with an existing Virtual Repository ID at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:972) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryShadow(DefaultNexusConfiguration.java:985) at org.sonatype.nexus.DefaultNexus.createRepositoryShadow(DefaultNexus.java:568) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:707) ... 13 more 2009-04-24 15:43:14 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing group: plugins-snapshots 2009-04-24 15:43:14 ERROR [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to add a 'maven1' virtual repository for repository 'java.net.m1': Error creating shadow repo: java.net.m1-releases org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Error creating shadow repo: java.net.m1-releases at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:711) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.addVirtualRepository(DefaultArtifactoryMigrator.java:673) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importGroups(DefaultArtifactoryMigrator.java:601) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:216) at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o id - Virtual Repository ID 'java.net.m1-releases-virtual' conflicts with an existing Virtual Repository ID at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:972) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryShadow(DefaultNexusConfiguration.java:985) at org.sonatype.nexus.DefaultNexus.createRepositoryShadow(DefaultNexus.java:568) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:707) ... 13 more 2009-04-24 15:43:15 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing group: remote-repos 2009-04-24 15:43:15 ERROR [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to add a 'maven1' virtual repository for repository 'java.net.m1': Error creating shadow repo: java.net.m1-releases org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Error creating shadow repo: java.net.m1-releases at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:711) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.addVirtualRepository(DefaultArtifactoryMigrator.java:673) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importGroups(DefaultArtifactoryMigrator.java:601) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:216) at org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o id - Virtual Repository ID 'java.net.m1-releases-virtual' conflicts with an existing Virtual Repository ID at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:972) at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepositoryShadow(DefaultNexusConfiguration.java:985) at org.sonatype.nexus.DefaultNexus.createRepositoryShadow(DefaultNexus.java:568) at org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createShadowRepo(DefaultArtifactoryMigrator.java:707) ... 13 more 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing security 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: admin-artifactory 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: Administrator 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: anonymous-artifactory 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: jcoder 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Starting Artifactory Security Migration. 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: admin-artifactory 2009-04-24 15:43:17 DEBUG [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - User 'admin-artifactory' was imported successfully 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: Administrator 2009-04-24 15:43:17 WARN [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to add user: 'Administrator'. User was missing a password. Usually this means the user is from an external Realm, e.g., LDAP. 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: anonymous-artifactory 2009-04-24 15:43:17 DEBUG [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - User 'anonymous-artifactory' was imported successfully 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Importing user: jcoder 2009-04-24 15:43:17 WARN [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Failed to add user: 'jcoder'. User was missing a password. Usually this means the user is from an external Realm, e.g., LDAP. 2009-04-24 15:43:17 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Recreating repository metadatas java.net.m1-releases 2009-04-24 15:43:19 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Recreating repository metadatas java.net.m2-snapshots 2009-04-24 15:43:20 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Recreating repository metadatas java.net.m2-releases 2009-04-24 15:43:22 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Recreating repository metadatas java.net.m1-snapshots 2009-04-24 15:43:23 INFO [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Recreating repository metadatas libs-releases-local 2009-04-24 15:43:33 WARN [pool-1-thread-1] - o.s.n.p.m.a.Artifac~:default - Migration finished with some errors. {noformat}

    Sonatype JIRA | 8 years ago
    org.sonatype.nexus.plugin.migration.artifactory.MigrationException: Error creating shadow repo: java.net.m1-releases
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Browse Repositories => Right click on a repo and select Out of Service => An Error 400 appears in the UI. From the wrapper.log: INFO | jvm 1 | 2008/08/21 13:54:49 | 2008-08-21 13:54:49,743 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:49 127.0.0.1 - 127.0.0.1 8081 PUT /nexus/service/local/repositories/central-m1/status undefined 400 186 75 31 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:52 | 2008-08-21 13:54:52,144 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:52 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repositories/ _dc=1219352092112 200 2048 - 16 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:52 | 2008-08-21 13:54:52,206 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:52 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repo_groups/ _dc=1219352092190 200 1114 - 16 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:52 | 2008-08-21 13:54:52,237 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:52 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repository_statuses/ forceCheck&_dc=1219352092222 202 1712 - 15 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:55 | 2008-08-21 13:54:55,432 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:55 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repositories/codehaus-snapshots/content/ isLocal&_dc=1219352095401 200 2 - 15 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:56 | 2008-08-21 13:54:56,617 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:56 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repositories/central/content/ isLocal&_dc=1219352096601 200 2 - 16 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:57 | 2008-08-21 13:54:57,240 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:57 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repository_statuses/ _dc=1219352097225 200 1718 - 15 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:58 | 2008-08-21 13:54:58,643 WARN [org.sonatype.nexus.rest.ApplicationBridge] - Configuration unacceptable, repoId=central INFO | jvm 1 | 2008/08/21 13:54:58 | org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! INFO | jvm 1 | 2008/08/21 13:54:58 | Validation errors follows: INFO | jvm 1 | 2008/08/21 13:54:58 | o 1 - Repository shadow central-m1 conflicts with existing Repository with same ID='central-m1'! INFO | jvm 1 | 2008/08/21 13:54:58 | INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:904) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.updateRepositoryShadow(DefaultNexusConfiguration.java:952) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.DefaultNexus.updateRepositoryShadow(DefaultNexus.java:571) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.rest.repositories.RepositoryStatusResourceHandler.put(RepositoryStatusResourceHandler.java:177) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.resource.Resource.handlePut(Resource.java:548) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePut(AbstractNexusResourceHandler.java:411) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Finder.handle(Finder.java:299) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/08/21 13:54:58 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - Repository shadow central-m1 conflicts with existing Repository with same ID='central-m1'!
  6. 0

    Browse Repositories => Right click on a repo and select Out of Service => An Error 400 appears in the UI. From the wrapper.log: INFO | jvm 1 | 2008/08/21 13:54:49 | 2008-08-21 13:54:49,743 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:49 127.0.0.1 - 127.0.0.1 8081 PUT /nexus/service/local/repositories/central-m1/status undefined 400 186 75 31 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:52 | 2008-08-21 13:54:52,144 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:52 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repositories/ _dc=1219352092112 200 2048 - 16 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:52 | 2008-08-21 13:54:52,206 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:52 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repo_groups/ _dc=1219352092190 200 1114 - 16 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:52 | 2008-08-21 13:54:52,237 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:52 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repository_statuses/ forceCheck&_dc=1219352092222 202 1712 - 15 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:55 | 2008-08-21 13:54:55,432 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:55 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repositories/codehaus-snapshots/content/ isLocal&_dc=1219352095401 200 2 - 15 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:56 | 2008-08-21 13:54:56,617 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:56 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repositories/central/content/ isLocal&_dc=1219352096601 200 2 - 16 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:57 | 2008-08-21 13:54:57,240 INFO [org.restlet.Component (15245517)] - 2008-08-21 13:54:57 127.0.0.1 - 127.0.0.1 8081 GET /nexus/service/local/repository_statuses/ _dc=1219352097225 200 1718 - 15 http://localhost:8081 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.1.2 Safari/525.21 http://localhost:8081/nexus/ INFO | jvm 1 | 2008/08/21 13:54:58 | 2008-08-21 13:54:58,643 WARN [org.sonatype.nexus.rest.ApplicationBridge] - Configuration unacceptable, repoId=central INFO | jvm 1 | 2008/08/21 13:54:58 | org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! INFO | jvm 1 | 2008/08/21 13:54:58 | Validation errors follows: INFO | jvm 1 | 2008/08/21 13:54:58 | o 1 - Repository shadow central-m1 conflicts with existing Repository with same ID='central-m1'! INFO | jvm 1 | 2008/08/21 13:54:58 | INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepositoryShadow(DefaultNexusConfiguration.java:904) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.updateRepositoryShadow(DefaultNexusConfiguration.java:952) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.DefaultNexus.updateRepositoryShadow(DefaultNexus.java:571) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.rest.repositories.RepositoryStatusResourceHandler.put(RepositoryStatusResourceHandler.java:177) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.resource.Resource.handlePut(Resource.java:548) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePut(AbstractNexusResourceHandler.java:411) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Finder.handle(Finder.java:299) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/08/21 13:54:58 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/08/21 13:54:58 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/08/21 13:54:58 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    org.sonatype.nexus.configuration.validator.InvalidConfigurationException: Configuration is invalid! Validation errors follows: o 1 - Repository shadow central-m1 conflicts with existing Repository with same ID='central-m1'!

    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. org.sonatype.nexus.configuration.validator.InvalidConfigurationException

      Configuration is invalid! Validation errors follows: o id - The Repository ID 'codehaus-snapshots' conflicts with an existing Repository ID Validation warnings follows: o id - Repository with ID='codehaus-snapshots' has no name, defaulted to it's ID.

      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepository()
    2. ${project.groupId}:${project.artifactId}
      DefaultNexus.createRepository
      1. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.validateRepository(DefaultNexusConfiguration.java:776)
      2. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.createRepository(DefaultNexusConfiguration.java:789)
      3. org.sonatype.nexus.DefaultNexus.createRepository(DefaultNexus.java:495)
      3 frames
    3. org.sonatype.nexus
      ArtifactoryMigrationTask.doRun
      1. org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.createRepository(DefaultArtifactoryMigrator.java:521)
      2. org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importRepository(DefaultArtifactoryMigrator.java:439)
      3. org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.importRepositories(DefaultArtifactoryMigrator.java:378)
      4. org.sonatype.nexus.plugin.migration.artifactory.DefaultArtifactoryMigrator.migrate(DefaultArtifactoryMigrator.java:207)
      5. org.sonatype.nexus.plugin.migration.artifactory.task.ArtifactoryMigrationTask.doRun(ArtifactoryMigrationTask.java:27)
      5 frames
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139)
      1 frame
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      7. java.lang.Thread.run(Thread.java:619)
      7 frames