org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar

Sonatype JIRA | Peter Lynch | 5 years ago
  1. 0

    Reference: https://builds.sonatype.org/view/nexus/job/nexus-oss-its/57/jdk=java-6x,label=win/testReport/junit/org.sonatype.nexus.plugins.migration.nexus3301/Nexus3301MavenDownloadRedirectSecurityIT/downloadWithPermition/ Please change the method name when this gets fixed. {noformat} [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'remote-repository' with url: 'http://localhost:54783/artifactory/main-local/'. Downloading: http://localhost:54783/artifactory/main-local//nxcm281/released/1.0/released-1.0.pom [DEBUG] Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:143) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251) at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163) at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387) at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122) ... 36 more Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) ... 36 more [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] Unable to get resource 'nxcm281:released:pom:1.0' from repository remote-repository (http://localhost:54783/artifactory/main-local/): Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.pom [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [DEBUG] Artifact not found - using stub model: Unable to download the artifact from any repository nxcm281:released:pom:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) [DEBUG] Using defaults for missing POM nxcm281:released:pom:1.0:compile [DEBUG] nxcm281:released:jar:1.0:compile (selected for compile) [DEBUG] Trying repository central [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'nexus' with url: 'http://localhost:54783/nexus/content/groups/public'. Downloading: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar [DEBUG] Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:119) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] Unable to get resource 'nxcm281:released:jar:1.0' from repository central (http://central): Authorization failed: Access denied to: http://localhost:54783/nexus/content/groups/public/nxcm281/released/1.0/released-1.0.jar [DEBUG] Trying repository remote-repository [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [DEBUG] Checking for pre-existing User-Agent configuration. [DEBUG] Adding User-Agent configuration. [DEBUG] Connecting to repository: 'remote-repository' with url: 'http://localhost:54783/artifactory/main-local/'. Downloading: http://localhost:54783/artifactory/main-local//nxcm281/released/1.0/released-1.0.jar [DEBUG] Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:143) at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar at sun.reflect.GeneratedConstructorAccessor6.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1491) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1485) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:122) ... 13 more Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) ... 13 more [DEBUG] Using Wagon implementation lightweight from default mapping for protocol http [WARNING] Unable to get resource 'nxcm281:released:jar:1.0' from repository remote-repository (http://localhost:54783/artifactory/main-local/): Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [DEBUG] Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 nxcm281:released:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 nxcm281:released:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456) at org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216) ... 6 more [DEBUG] Using mirror: http://localhost:54783/nexus/content/groups/public (id: nexus) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) nxcm281:released:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 ---------- 1 required artifact is missing. for artifact: nexus3301:artifact:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Missing: ---------- 1) nxcm281:released:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 ---------- 1 required artifact is missing. for artifact: nexus3301:artifact:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing: ---------- 1) nxcm281:released:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=nxcm281 -DartifactId=released -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) nexus3301:artifact:jar:1.0 2) nxcm281:released:jar:1.0 ---------- 1 required artifact is missing. for artifact: nexus3301:artifact:jar:1.0 from the specified remote repositories: nexus (http://localhost:54783/nexus/content/groups/public), remote-repository (http://localhost:54783/artifactory/main-local/) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:360) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304) at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Mon Oct 31 02:30:24 CDT 2011 [INFO] Final Memory: 10M/109M [INFO] ------------------------------------------------------------------------ at org.apache.maven.it.Verifier.executeGoals(Verifier.java:1297) at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1145) at org.apache.maven.it.Verifier.executeGoal(Verifier.java:1139) at org.sonatype.nexus.plugins.migration.nexus3301.Nexus3301MavenDownloadRedirectSecurityIT.download(Nexus3301MavenDownloadRedirectSecurityIT.java:82) at org.sonatype.nexus.plugins.migration.nexus3301.Nexus3301MavenDownloadRedirectSecurityIT.downloadWithPermition(Nexus3301MavenDownloadRedirectSecurityIT.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) at org.testng.internal.Invoker.invokeMethod(Invoker.java:673) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.runWorkers(TestRunner.java:1178) at org.testng.TestRunner.privateRun(TestRunner.java:757) at org.testng.TestRunner.run(TestRunner.java:608) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158) at org.testng.TestNG.runSuitesLocally(TestNG.java:1083) at org.testng.TestNG.run(TestNG.java:999) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:70) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:78) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) Standard Output [INFO] Loading Nexus Configuration... [INFO] Configuration loaded succesfully. [INFO] Loading Nexus configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Configuration file is invalid, attempting upgrade [INFO] Trying to upgrade the configuration file X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Upgrading old Nexus configuration file (version 1.0.8) from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Nexus configuration file upgraded to current version 1.4.6 succesfully. [INFO] Creating backup from the old file and saving the upgraded configuration. [INFO] Loading Nexus configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\nexus.xml [INFO] Configuration loaded succesfully. [INFO] Nexus configuration validated succesfully. [INFO] Applying Nexus Configuration... [INFO] Nexus configuration validated succesfully. =================================== Application context "nexus" dump: "nexus-work"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "index.template.file"="templates/index-debug.vm" (raw: "templates/index-debug.vm", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "runtime"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${bundleBasedir}/nexus/WEB-INF", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-port"="54783" (raw: "54783", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "nexus-webapp"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus" (raw: "${bundleBasedir}/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT", src: static("bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT")) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) Total of 8 entries. =================================== =================================== Application context "nexus" dump: "nexus-work"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "index.template.file"="templates/index-debug.vm" (raw: "templates/index-debug.vm", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "runtime"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${bundleBasedir}/nexus/WEB-INF", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-port"="54783" (raw: "54783", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-host"="0.0.0.0" (raw: "0.0.0.0", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "application-conf"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir/conf" (raw: "${nexus-work}/conf", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\nexus\WEB-INF\plexus.properties, size:5)) "nexus-webapp"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus" (raw: "${bundleBasedir}/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) "nexus-app"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/WEB-INF" (raw: "${runtime}", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\nexus\WEB-INF\plexus.properties, size:5)) "security-xml-file"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir/conf/security.xml" (raw: "${nexus-work}/conf/security.xml", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\nexus\WEB-INF\plexus.properties, size:5)) "bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT" (raw: "X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT", src: static("bundleBasedir"="X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT")) "nexus-webapp-context-path"="/nexus" (raw: "/nexus", src: propsFile(X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT\conf\nexus.properties, size:7)) Total of 11 entries. =================================== 2011-10-31 02:30:15 INFO [7-main-thread-1] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-work-dir\conf\security-configuration.xml Standard Error 2011-10-31 02:30:11.328:INFO::jetty-7.4.4.v20110707 2011-10-31 02:30:11.348:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /artifactory) 2011-10-31 02:30:11.350:INFO:org.sonatype.plexus.jetty.custom.DisableTagLibsListener:Disabling TLD support for: null (context path: /nexus) 2011-10-31 02:30:11.749:INFO::NO JSP Support for /artifactory, did not find org.apache.jasper.servlet.JspServlet 2011-10-31 02:30:11.779:INFO:/artifactory:Configuring Nexus in bundle... 2011-10-31 02:30:11.779:INFO:/artifactory:Setting Plexus basedir context variable to (pre-set in System properties): X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT 2011-10-31 02:30:12.288:INFO::started o.e.j.w.WebAppContext{/artifactory,file:/X:/s/workspace/nexus-oss-its/67cb98c1/nexus/nexus-core-plugins/nexus-migration-plugin/nexus-migration-plugin-test-harness/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/artifactory-bridge/},X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/artifactory-bridge Oct 31, 2011 2:30:12 AM org.sonatype.plexus.rest.PlexusRestletApplicationBridge configure INFO: PlexusResource discovery disabled. 2011-10-31 02:30:13.190:INFO::NO JSP Support for /nexus, did not find org.apache.jasper.servlet.JspServlet 2011-10-31 02:30:13.208:INFO:/nexus:Configuring Nexus in bundle... 2011-10-31 02:30:13.208:INFO:/nexus:Setting Plexus basedir context variable to (pre-set in System properties): X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT 2011-10-31 02:30:17.441:INFO::started o.e.j.w.WebAppContext{/nexus,file:/X:/s/workspace/nexus-oss-its/67cb98c1/nexus/nexus-core-plugins/nexus-migration-plugin/nexus-migration-plugin-test-harness/target/nexus/nexus-oss-webapp-1.10.0-SNAPSHOT/nexus/},X:\s\workspace\nexus-oss-its\67cb98c1\nexus\nexus-core-plugins\nexus-migration-plugin\nexus-migration-plugin-test-harness\target\nexus\nexus-oss-webapp-1.10.0-SNAPSHOT/nexus 2011-10-31 02:30:18.709:INFO::Started SelectChannelConnector@0.0.0.0:54783 STARTING 2011-10-31 02:30:19.316:INFO:/nexus:nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@2a384d34 to URI: /nexus 2011-10-31 02:30:22.836:INFO:/artifactory:artifactory: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.artifactorybridge.ArtifactoryBridgeApplication@2de69e99 to URI: /artifactory Exit code: 1 {noformat} Assigning fix version as possible regression.

    Sonatype JIRA | 5 years ago | Peter Lynch
    org.apache.maven.wagon.TransferFailedException: Error transferring file: Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar
  2. 0

    GitHub comment 41#4637075

    GitHub | 5 years ago | barakm
    com.xebialabs.overthere.cifs.winrm.exception.WinRMRuntimeIOException: Send message on http://ec2-xx-xx-xx-xx.compute-1.amazonaws.com:5985/wsman error , document in <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header> <a:To xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://ec2-xx-xx-xx-xx.compute-1.amazonaws.com:5985/wsman</a:To> <a:ReplyTo xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <a:Address mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address> </a:ReplyTo> <w:MaxEnvelopeSize xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" mustUnderstand="true">153600</w:MaxEnvelopeSize> <a:MessageID xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:64642DF5-0587-4BF1-B653-90C471400F4E</a:MessageID> <w:Locale xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" mustUnderstand="false" xml:lang="en-US"/> <p:DataLocale xmlns:p="http://schemas.microsoft.com/wbem/wsman/1/wsman.xsd" mustUnderstand="false" xml:lang="en-US"/> <w:OperationTimeout xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">PT60.000S</w:OperationTimeout> <a:Action xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</a:Action> <w:ResourceURI xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" mustUnderstand="true">http://schemas.microsoft.com/wbem/wsman/1/windows/shell/cmd</w:ResourceURI> <w:OptionSet xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"> <w:Option Name="WINRS_NOPROFILE">FALSE</w:Option> <w:Option Name="WINRS_CODEPAGE">437</w:Option> </w:OptionSet> </env:Header> <env:Body> <rsp:Shell xmlns:rsp="http://schemas.microsoft.com/wbem/wsman/1/windows/shell"> <rsp:InputStreams>stdin</rsp:InputStreams> <rsp:OutputStreams>stdout stderr</rsp:OutputStreams> </rsp:Shell> </env:Body> </env:Envelope> , document out [EMPTY],
  3. 0

    asserts not matching the returned codes

    GitHub | 3 years ago | saguirre1
    com.github.kevinsawicki.http.HttpRequest$HttpRequestException: java.io.IOException: Server returned HTTP response code: 409 for URL: http://localhost:8080/++++++
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Server returned HTTP response code: 500

    symmetricds | 4 years ago | kart-ak
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://pg-db01a.stg2.cmates.com:8080/sync/ora-web1p/pull?nodeId=pg-site-stg2&securityToken=NULL&hostName=pg-db01a.stg2.cmates.com&ipAddress=172.22.132.75
  6. 0

    FWLSE3000E: A server error was detected - after logging in to mobilefirst console

    Stack Overflow | 1 year ago | falter
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:9083/wladminchprod/management-apis/1.0/runtimes?fullInfo=true

  1. vega113 1 times, last 6 months ago
15 unregistered visitors
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. java.io.IOException

    Server returned HTTP response code: 500 for URL: http://localhost:54783/artifactory/main-local/nxcm281/released/1.0/released-1.0.jar

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream()
  2. Java RT
    HttpURLConnection.getResponseCode
    1. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
    2. java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:379)
    2 frames
  3. Maven
    DefaultArtifactResolver$ResolveArtifactTask.run
    1. org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115)
    2. org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
    3. org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
    4. org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
    5. org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:546)
    6. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:427)
    7. org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:382)
    8. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
    9. org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
    10. org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.resolveArtifact(DefaultArtifactResolver.java:456)
    11. org.apache.maven.artifact.resolver.DefaultArtifactResolver$ResolveArtifactTask.run(DefaultArtifactResolver.java:433)
    11 frames
  4. hidden.edu.emory
    ThreadPoolExecutor$Worker.run
    1. hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
    2. hidden.edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
    2 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame