Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70787

no suitable HttpMessageConverter found for response type

XMLWordPrintable

      The plugin returns this error:

      Building on the built-in node in workspace /var/lib/jenkins/workspace/test
      FATAL: Could not extract response: no suitable HttpMessageConverter found for response type [class com.thycotic.secrets.server.spring.SecretServerFactoryBean$AccessGrant] and content type [text/html;charset=utf-8]
      org.springframework.web.client.UnknownContentTypeException: Could not extract response: no suitable HttpMessageConverter found for response type [class com.thycotic.secrets.server.spring.SecretServerFactoryBean$AccessGrant] and content type [text/html;charset=utf-8]
          at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:126)
          at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:778)
          at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:711)
          at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:437)
          at com.thycotic.secrets.server.spring.SecretServerFactoryBean.getAccessGrant(SecretServerFactoryBean.java:135)
          at com.thycotic.secrets.server.spring.SecretServerFactoryBean.lambda$getObject$0(SecretServerFactoryBean.java:149)
          at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)
          at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77)
          at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
          at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66)
          at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:776)
          at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:732)
          at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:343)
          at com.thycotic.secrets.server.spring.SecretServer.getSecret(SecretServer.java:32)
          at com.thycotic.secrets.server.spring.SecretServer.getSecret(SecretServer.java:53)
          at com.thycotic.secrets.jenkins.ServerBuildWrapper.lambda$setUp$2(ServerBuildWrapper.java:90)
          at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
          at com.thycotic.secrets.jenkins.ServerBuildWrapper.setUp(ServerBuildWrapper.java:61)
          at jenkins.tasks.SimpleBuildWrapper.setUp(SimpleBuildWrapper.java:294)
          at hudson.model.Build$BuildExecution.doRun(Build.java:158)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
          at hudson.model.Run.execute(Run.java:1900)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
          at hudson.model.ResourceController.execute(ResourceController.java:107)
          at hudson.model.Executor.run(Executor.java:449)
      Finished: FAILURE 

            thycotic_dsv Thycotic Dev
            jiru Kenny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: