Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11838

Problematic description in camel-kafka

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.5-ER2
    • None
    • Camel
    • None

      I was building wildfly-camel and I got this error:

      [INFO] --- exec-maven-plugin:1.4.0:java (default) @ wildfly-camel-catalog ---
      [WARNING] 
      java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke (Method.java:498)
          at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:293)
          at java.lang.Thread.run (Thread.java:748)
      Caused by: com.fasterxml.jackson.core.JsonParseException: Unrecognized character escape 's' (code 115)
       at [Source: /data/sources/github.com/jboss-fuse/wildfly-camel/catalog/target/camel-catalog/org/apache/camel/catalog/components/kafka.json; line: 101, column: 693]
      

      the problematic part was in components/camel-kafka/target/camel-kafka-2.21.0.fuse-750028.jar/org/apache/camel/component/kafka/kafka.json:

          "kerberosPrincipalToLocalRules": { ... "description": "... please see a href=\security_authz\ security " },
      

      probably generated from this javadoc:

          /**
           * A list of rules for mapping from principal names to short names
           * (typically operating system usernames). The rules are evaluated in order
           * and the first rule that matches a principal name is used to map it to a
           * short name. Any later rules in the list are ignored. By default,
           * principal names of the form {username}/{hostname}@{REALM} are mapped to
           * {username}. For more details on the format please see <a
           * href=\"#security_authz\"> security authorization and acls</a>.
           * <p/>
           * Multiple values can be separated by comma
           */
          public void setKerberosPrincipalToLocalRules(String kerberosPrincipalToLocalRules) {
              this.kerberosPrincipalToLocalRules = kerberosPrincipalToLocalRules;
          }
      

            acosenti Andrea Cosentino
            ggrzybek Grzegorz Grzybek
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: