Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Stack overflow on JSON path modified #6

Open
vladoriginal opened this issue Nov 21, 2019 · 0 comments
Open

Stack overflow on JSON path modified #6

vladoriginal opened this issue Nov 21, 2019 · 0 comments

Comments

@vladoriginal
Copy link

Steps:

  1. load this json
    2019-11-21T052759.200.txt

  2. paste this search

$.hits.hits[*]._source.trays_cycle['fr']

  1. write some numbers and point inside square brackets

$.hits.hits[*]._source.trays_cycle['fr'.345]

  1. 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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant