Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14649

Cannot parse catalog/components/kafka.json

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Failed to process: ./target/camel-catalog/org/apache/camel/catalog/components/kafka.json
      
      com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 middle byte 0x5c
       at [Source: (File); line: 79, column: 766]
      	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1840)
      	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:712)
      	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidOther(UTF8StreamJsonParser.java:3573)
      	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidOther(UTF8StreamJsonParser.java:3580)
      	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._decodeUtf8_3fast(UTF8StreamJsonParser.java:3385)
      	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2489)
      	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2437)
      	at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:293)
      	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:267)
      	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:258)
      	at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:258)
      	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:68)
      	at com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:15)
      	at com.fasterxml.jackson.databind.ObjectMapper._readTreeAndClose(ObjectMapper.java:4254)
      	at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2745)
      	at org.wildfly.camel.catalog.CatalogCreator$1.visitFile(CatalogCreator.java:166)
      	at org.wildfly.camel.catalog.CatalogCreator$1.visitFile(CatalogCreator.java:1)
      	at java.nio.file.Files.walkFileTree(Files.java:2670)
      	at java.nio.file.Files.walkFileTree(Files.java:2742)
      	at org.wildfly.camel.catalog.CatalogCreator.collectAvailable(CatalogCreator.java:161)
      	at org.wildfly.camel.catalog.CatalogCreator.collect(CatalogCreator.java:137)
      	at org.wildfly.camel.test.catalog.CatalogCreatorTest.createCatalog(CatalogCreatorTest.java:37)
      

      At that particular location, I see

      adding a small amount of artificial delay´┐Ż\u0080\u0094that is
      

      Also shows with yammer.json

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              tdiesler Thomas Diesler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: