Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing Artifactory response fails when uploading files with names containing a German umlaut character #210

Open
ropi2016 opened this issue Dec 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ropi2016
Copy link

Description
When attempting to upload an artifact which name contains a German umlaut (ü) character, the Artifactory Generic Deploy task fails with the following exception.
The artifact itself is uploaded to Artifactory successfully.

...
Bamboo Artifactory Plugin version: 3.3.2
Using task configuration spec
Spec: {  "files": [    {      "pattern": "...../EBFDB.tar.gz",      "target": "...../Einzelbestandsführung/db/V2404060/",      
         "props": "DB2LUW_delivery=V2404060;application=Einzelbestandsführung",      "recursive": "false"    }  ]}
[consumer_0] Deploying artifact: https://...../Einzelbestandsf%C3%BChrung/db/V2404060/EBFDB.tar.gz
[consumer_0] An exception occurred during execution:java.lang.RuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Invalid UTF-8 start byte 0xfc 
at [Source: (org.apache.http.conn.EofSensorInputStream); line: 3, column: 36] (through reference chain: org.jfrog.build.client.ArtifactoryUploadResponse["path"])        
	at org.jfrog.build.extractor.clientConfiguration.util.spec.SpecDeploymentConsumer.consumerRun(SpecDeploymentConsumer.java:44)       
	at org.jfrog.build.extractor.producerConsumer.ConsumerRunnableBase.run(ConsumerRunnableBase.java:11)        
	at java.lang.Thread.run(Thread.java:750)
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Invalid UTF-8 start byte 0xfc 
	at [Source: (org.apache.http.conn.EofSensorInputStream); line: 3, column: 36] (through reference chain: org.jfrog.build.client.ArtifactoryUploadResponse["path"])
...

To Reproduce
Upload a file with a German umlaut character in the name.

Expected behavior
Uploading a file works even if the name contains a German umlaut.

Versions

  • Bamboo Artifactory plugin version: 3.3.2
  • Bamboo operating system: 9.2.7
  • Artifactory Version: 7.71.4
@ropi2016 ropi2016 added the bug Something isn't working label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant