json-utils-plugin
json-utils-plugin copied to clipboard
Stack overflow on JSON path modified
Steps:
-
load this json 2019-11-21T052759.200.txt
-
paste this search
$.hits.hits[*]._source.trays_cycle['fr']
- write some numbers and point inside square brackets
$.hits.hits[*]._source.trays_cycle['fr'.345]
- delete numbers and point one by one
Result:
Exception in plugin detected by IDEA
java.lang.StackOverflowError at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:145) at com.jayway.jsonpath.internal.path.PathCompiler.readDotToken(PathCompiler.java:165) at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:139) at com.jayway.jsonpath.internal.path.PathCompiler.readPropertyOrFunctionToken(PathCompiler.java:231) at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:145) at com.jayway.jsonpath.internal.path.PathCompiler.readDotToken(PathCompiler.java:165) at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:139) at com.jayway.jsonpath.internal.path.PathCompiler.readPropertyOrFunctionToken(PathCompiler.java:231) at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:145) at com.jayway.jsonpath.internal.path.PathCompiler.readBracketPropertyToken(PathCompiler.java:603) at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:132) at com.jayway.jsonpath.internal.path.PathCompiler.readPropertyOrFunctionToken(PathCompiler.java:231) at com.jayway.jsonpath.internal.path.PathCompiler.readNextToken(PathCompiler.java:145) at com.jayway.jsonpath.internal.path.PathCompiler.readDotToken(PathCompiler.java:165)