java.io.IOException: Failed to send build info: Internal Server Error

JFrog JIRA | Karthik Venkatesan | 7 years ago
  1. 0

    When i try to publish an artifact from Hudson to Artifactory using the Artifactory plugin, I get the following error: ERROR: Failed to send build info: Internal Server Error java.io.IOException: Failed to send build info: Internal Server Error at org.jfrog.hudson.BuildInfoDeployer.sendBuildInfo(BuildInfoDeployer.java:175) at org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:52) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:594) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:534) at hudson.model.Run.run(Run.java:1216) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Finished: FAILURE I looked on the Artifactory side and the error is : org.codehaus.jackson.map.JsonMappingException: Unrecognized field "ARTIFACT" (Class org.artifactory.build.api.Artifact), not marked as ignorable at [Source: org.apache.catalina.connector.coyoteinputstr...@53bd0541; line: 1, column: 127] Artifactory version : 2.1.3 Hudson version: 1.341 Artifactory plugin version: 1.0.4 Thanks

    JFrog JIRA | 7 years ago | Karthik Venkatesan
    java.io.IOException: Failed to send build info: Internal Server Error
  2. 0

    When i try to publish an artifact from Hudson to Artifactory using the Artifactory plugin, I get the following error: ERROR: Failed to send build info: Internal Server Error java.io.IOException: Failed to send build info: Internal Server Error at org.jfrog.hudson.BuildInfoDeployer.sendBuildInfo(BuildInfoDeployer.java:175) at org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:52) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:594) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:534) at hudson.model.Run.run(Run.java:1216) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Finished: FAILURE I looked on the Artifactory side and the error is : org.codehaus.jackson.map.JsonMappingException: Unrecognized field "ARTIFACT" (Class org.artifactory.build.api.Artifact), not marked as ignorable at [Source: org.apache.catalina.connector.coyoteinputstr...@53bd0541; line: 1, column: 127] Artifactory version : 2.1.3 Hudson version: 1.341 Artifactory plugin version: 1.0.4 Thanks

    JFrog JIRA | 7 years ago | Karthik Venkatesan
    java.io.IOException: Failed to send build info: Internal Server Error
  3. 0

    Artifactory Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 2 months ago
    java.io.IOException: Failed to send build info: Internal Server Error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Artifactory Plugin - hudson - Hudson Wiki

    hudson-ci.org | 4 months ago
    java.io.IOException: Failed to send build info: Internal Server Error
  6. 0

    We are getting this error message for a job attempting to deploy to artifactory mavenExecutionResult exceptions not empty message : Internal error: java.lang.RuntimeException: Error occurred while publishing Build Info to Artifactory. cause : Error occurred while publishing Build Info to Artifactory. Stack trace : org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Error occurred while publishing Build Info to Artifactory. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 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.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:98) at hudson.maven.Maven3Builder.call(Maven3Builder.java:64) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: Error occurred while publishing Build Info to Artifactory. at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:87) at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded(BuildInfoRecorder.java:128) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:170) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) ... 19 more Caused by: java.io.IOException: Failed to send build info: HTTP response code: 500. HTTP response message: Internal Server Error at org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:641) at org.jfrog.build.client.ArtifactoryBuildInfoClient.sendBuildInfo(ArtifactoryBuildInfoClient.java:240) at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy(BuildDeploymentHelper.java:85) ... 25 more channel stopped

    JFrog JIRA | 4 years ago | John Lysaght
    org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Error occurred while publishing Build Info to Artifactory.

    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

      Failed to send build info: Internal Server Error

      at org.jfrog.hudson.BuildInfoDeployer.sendBuildInfo()
    2. org.jfrog.hudson
      ArtifactoryRedeployPublisher.perform
      1. org.jfrog.hudson.BuildInfoDeployer.sendBuildInfo(BuildInfoDeployer.java:175)
      2. org.jfrog.hudson.BuildInfoDeployer.deploy(BuildInfoDeployer.java:52)
      3. org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:101)
      3 frames
    3. Hudson
      AbstractBuild$AbstractRunner.performAllBuildStep
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      3 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.post2
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:594)
      1 frame
    5. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:534)
      2. hudson.model.Run.run(Run.java:1216)
      2 frames
    6. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:122)
      2 frames