org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x6e at [Source: org.apache.http.conn.EofSensorInputStream@2a791bf9; line: 3, column: 30]

JFrog JIRA | Eyal Ben Moshe | 2 years ago
  1. 0

    Encoding issue when uploading build info

    GitHub | 2 years ago | jochenberger
    org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x6e at [Source: org.apache.http.conn.EofSensorInputStream@2a791bf9; line: 3, column: 30]
  2. 0

    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)

    JFrog JIRA | 2 years ago | Eyal Ben Moshe
    org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x6e at [Source: org.apache.http.conn.EofSensorInputStream@2a791bf9; line: 3, column: 30]
  3. 0

    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)

    JFrog JIRA | 2 years ago | Eyal Ben Moshe
    org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x6e at [Source: org.apache.http.conn.EofSensorInputStream@2a791bf9; line: 3, column: 30]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JsonParseException with Latin capital letter AE - Jackson JSON User Group

    ning.com | 7 months ago
    org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x3f  at [Source: java.io.ByteArrayInputStream@41c8872; line: 1, column: 24] [25-06-12 09:26:52:806 CEST] 0000006e SystemErr     R       at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1150) [25-06-12 09:26:52:806 CEST] 0000006e SystemErr     R       at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:324) [25-06-12 09:26:52:806 CEST] 0000006e SystemErr     R       at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(Utf8StreamParser.java:1675) [25-06-12 09:26:52:806 CEST] 0000006e SystemErr     R       at org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(Utf8StreamParser.java:1682) [25-06-12 09:26:52:806 CEST] 0000006e SystemErr     R       at org.codehaus.jackson.impl.Utf8StreamParser._decodeUtf8_2(Utf8StreamParser.java:1471)
  6. 0

    Error deploying artifacts to Artifactory; error 500

    Google Groups | 6 years ago | mauras
    org.codehaus.jackson.JsonParseException: Invalid UTF-8 middle byte 0x63 at [Source: org.mortbay.jetty.HttpParser$Input@1f1a781; line: 6, column: 30] at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:943) org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java: 636)

    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. 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()
    2. Jackson
      JsonParserBase.getText
      1. org.codehaus.jackson.JsonParser._constructError(JsonParser.java:943)
      2. org.codehaus.jackson.impl.JsonParserBase._reportError(JsonParserBase.java:632)
      3. org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(Utf8StreamParser.java:1673)
      4. org.codehaus.jackson.impl.Utf8StreamParser._reportInvalidOther(Utf8StreamParser.java:1680)
      5. org.codehaus.jackson.impl.Utf8StreamParser._decodeUtf8_4(Utf8StreamParser.java:1526)
      6. org.codehaus.jackson.impl.Utf8StreamParser._finishString(Utf8StreamParser.java:970)
      7. org.codehaus.jackson.impl.JsonParserBase.getText(JsonParserBase.java:364)
      7 frames
    3. Data Mapper for Jackson
      ObjectMapper.readValue
      1. org.codehaus.jackson.map.deser.StdDeserializer$StringDeserializer.deserialize(StdDeserializer.java:411)
      2. org.codehaus.jackson.map.deser.StdDeserializer$StringDeserializer.deserialize(StdDeserializer.java:399)
      3. org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:135)
      4. org.codehaus.jackson.map.deser.SettableBeanProperty$MethodProperty.deserializeAndSet(SettableBeanProperty.java:221)
      5. org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:390)
      6. org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:286)
      7. org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:1568)
      8. org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:711)
      8 frames
    4. Jackson
      JsonParser.readValueAs
      1. org.codehaus.jackson.JsonParser.readValueAs(JsonParser.java:879)
      1 frame
    5. org.jfrog.build
      ArtifactoryBuildInfoClient.deployArtifact
      1. org.jfrog.build.client.ArtifactoryHttpClient.execute(ArtifactoryHttpClient.java:202)
      2. org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:189)
      3. org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:619)
      4. org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:330)
      4 frames
    6. org.jfrog.gradle
      BuildInfoBaseTask.collectProjectBuildInfo
      1. org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.deployArtifacts(BuildInfoBaseTask.java:409)
      2. org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.prepareAndDeploy(BuildInfoBaseTask.java:284)
      3. org.jfrog.gradle.plugin.artifactory.task.BuildInfoBaseTask.collectProjectBuildInfo(BuildInfoBaseTask.java:363)
      3 frames