Skip to content

Improve error when parsing file #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stephanerenou opened this issue Nov 27, 2019 · 0 comments
Open

Improve error when parsing file #33

stephanerenou opened this issue Nov 27, 2019 · 0 comments

Comments

@stephanerenou
Copy link

When the plugin parses the file, it reports a stacktrace that does not contain the file that is being parsed. It would be usefull to have the path to the file in the below first line?
Invalid UTF-8 start byte 0x92
at [Source: (File); line: 10, column: 33]
[ERROR]
com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 start byte 0x92
at [Source: (File); line: 10, column: 33]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:693)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidInitial(UTF8StreamJsonParser.java:3545)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidChar(UTF8StreamJsonParser.java:3541)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2487)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2413)
at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:269)
at com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:264)
at com.fasterxml.jackson.databind.deser... (show balloon)

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

No branches or pull requests

1 participant