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.

  • I have created temporary Artifactory instance "http://gd_artifactory_poc.artifactoryonline.com" for evaluating Artifactory possibilities. Configuration in Bamboo Server in Use Case 'Edit Server Configuration' fails after click on "Test" button. Parameters: Artifactory Server URL: http://gd_artifactory_poc.artifactoryonline.com Username: ****** Password: ****** Timeout: 300 Error message in Bamboo log file: ERROR [qtp2065554654-6636] [ConfigureArtifactoryServerAction] Error while testing the connection to Artifactory server http://gd_artifactory_poc.artifactoryonline.com/ java.lang.IllegalArgumentException: Host name may not be null at org.apache.http.HttpHost.<init>(HttpHost.java:83) at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:586) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95) at org.jfrog.build.client.ArtifactoryHttpClient.getVersion(ArtifactoryHttpClient.java:130) at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:303) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:188) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ...
    via by Radek Chromy,
  • I have created temporary Artifactory instance "http://gd_artifactory_poc.artifactoryonline.com" for evaluating Artifactory possibilities. Configuration in Bamboo Server in Use Case 'Edit Server Configuration' fails after click on "Test" button. Parameters: Artifactory Server URL: http://gd_artifactory_poc.artifactoryonline.com Username: ****** Password: ****** Timeout: 300 Error message in Bamboo log file: ERROR [qtp2065554654-6636] [ConfigureArtifactoryServerAction] Error while testing the connection to Artifactory server http://gd_artifactory_poc.artifactoryonline.com/ java.lang.IllegalArgumentException: Host name may not be null at org.apache.http.HttpHost.<init>(HttpHost.java:83) at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:586) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95) at org.jfrog.build.client.ArtifactoryHttpClient.getVersion(ArtifactoryHttpClient.java:130) at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:303) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:188) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ...
    via by Radek Chromy,
  • Error in accessing php web service
    via Stack Overflow by warlock
    ,
    • java.lang.IllegalArgumentException: Host name may not be null at org.apache.http.HttpHost.<init>(HttpHost.java:83) at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:586) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576) at org.jfrog.build.client.PreemptiveHttpClient.execute(PreemptiveHttpClient.java:95) at org.jfrog.build.client.ArtifactoryHttpClient.getVersion(ArtifactoryHttpClient.java:130) at org.jfrog.build.client.ArtifactoryBuildInfoClient.verifyCompatibleArtifactoryVersion(ArtifactoryBuildInfoClient.java:303) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.testConnection(ConfigureArtifactoryServerAction.java:188) at org.jfrog.bamboo.admin.ConfigureArtifactoryServerAction.doUpdate(ConfigureArtifactoryServerAction.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,