📣 极限科技诚招搜索运维工程师(Elasticsearch/Easysearch)- 全职/北京 👉 : 立即申请加入

日志上下文 #

日志 “failed to parse indices privileges for role [{}]. expected {} or {} but got {}” 的类名是 RoleDescriptor.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人参考:

token);
 }
 }
 } while ((token = parser.nextToken()) != XContentParser.Token.END_OBJECT);
 } else {
 throw new ElasticsearchParseException("failed to parse indices privileges for role [{}]. expected {} or {} but got {}" +
 " in \"{}\"".""; roleName; XContentParser.Token.START_OBJECT;