Uploaded image for project: 'Build Info'
  1. Build Info
  2. BI-200

Parsing Artifactory response fails when uploading files with names containing a German umlaut (ö) character

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.3.4, 2.5.0
    • Fix Version/s: 2.5.1
    • Component/s: None
    • Labels:
      None

      Description

      When attempting to upload an artifact which name contains a German umlaut (ö) character, the build info client fails to parse the json response returned from Artifactory with the below exception.
      The artifact itself is uploaded to Artifactory successfully.

      org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x6e
      at [Source: org.apache.http.conn.EofSensorInputStream@2a791bf9; line: 3, column: 30]
      at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:943)
      at org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632)
      at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(Utf8StreamParser.java:1673)
      at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(Utf8StreamParser.java:1680)
      at org.codehaus.jackson.impl.Utf8StreamParser._decodeUtf8_4(Utf8StreamParser.java:1526)
      at org.codehaus.jackson.impl.Utf8StreamParser._finishString(Utf8StreamParser.java:970)
      at org.codehaus.jackson.impl.JsonParserBase.getText(JsonParserBase.java:364)
      at org.codehaus.jackson.map.deser.StdDeserializer$StringDeserializer.deserialize(StdDeserializer.java:411)
      at org.codehaus.jackson.map.deser.StdDeserializer$StringDeserializer.deserialize(StdDeserializer.java:399)
      at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:135)
      at org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:221)
      at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:390)
      at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:286)
      at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:1568)
      at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:711)
      at org.codehaus.jackson.JsonParser.readValueAs(JsonParser.java:879)
      at org.jfrog.build.client.ArtifactoryHttpClient.execute(ArtifactoryHttpClient.java:202)
      at org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:189)
      at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:619)
      at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:330)
      at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.deployArtifacts(BuildInfoBaseTask.java:409)
      at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:284)
      at org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:363)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yoavl Yoav Landman
                Reporter:
                eyalbe Eyal Ben Moshe (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: