-
Bug
-
Resolution: Done
-
Major
-
None
-
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; }