java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Setting pull replication for remote repository with wrong credentials throws an exception to artifactory.log. The Exception occurs due to 401 response to the version request. {code} 2016-04-05 14:52:48,732 [art-exec-186] [ERROR] (o.a.a.c.BasicStatusHolder:201) Error occurred while performing folder replication for 'matankaol:': Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108) ~[classes/:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89) ~[classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68) [classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41) [classes/:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104) [classes/:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96) [classes/:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50) [classes/:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102) [classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] {code}
    via by Matan Katz,
  • Setting pull replication for remote repository with wrong credentials throws an exception to artifactory.log. The Exception occurs due to 401 response to the version request. {code} 2016-04-05 14:52:48,732 [art-exec-186] [ERROR] (o.a.a.c.BasicStatusHolder:201) Error occurred while performing folder replication for 'matankaol:': Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108) ~[classes/:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103) ~[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89) ~[classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68) [classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41) [classes/:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104) [classes/:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96) [classes/:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50) [classes/:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102) [classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] {code}
    via by Matan Katz,
  • Hi JFROG, When i try to configure the external remote repository from nexus for the first time, it works and i am able to see my repository getting reflected in the artifcatory. But when i click on the replication link given. It throws me an error saying HTTP 404. Error log Unable to identify target URL as an Artifactory instance: HTTP/1.1 404 Not Found java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 404 Not Found at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:95) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:49) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:92) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:78) ~[artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:56) [artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:29) [artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:95) [artifactory-addon-replication-4.14.3.jar:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:101) [artifactory-core-4.14.3.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:52) [artifactory-storage-common-4.14.3.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:104) [artifactory-storage-common-4.14.3.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_101] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_101]
    via by abhineet,
    • java.lang.IllegalArgumentException: Unable to identify target URL as an Artifactory instance: HTTP/1.1 401 Unauthorized at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.executeRequestAndSetDetails(TargetServerInfoResolver.java:108)[classes/:na] at org.artifactory.addon.replication.core.context.server.TargetServerInfoResolver.resolveTargetInfo(TargetServerInfoResolver.java:61)[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.resolveTargetInfo(BaseReplicationProducer.java:103)[classes/:na] at org.artifactory.addon.replication.core.BaseReplicationProducer.run(BaseReplicationProducer.java:89)[classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:68)[classes/:na] at org.artifactory.addon.replication.core.remote.RemoteReplicator.replicate(RemoteReplicator.java:41)[classes/:na] at org.artifactory.addon.replication.core.ReplicationAddonImpl.performRemoteReplication(ReplicationAddonImpl.java:104)[classes/:na] at org.artifactory.repo.replication.RemoteReplicationJob.onExecute(RemoteReplicationJob.java:96)[classes/:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:50)[classes/:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-2.2.1.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:102)[classes/:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_65] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_65]
    No Bugmate found.