Skip to content
This repository has been archived by the owner on Jan 22, 2019. It is now read-only.

Encounter ArrayIndexOutOfBoundsException in the corner case delimiter or end-of-line happened to be the leading character of a segment buffer #54

Closed
wli600 opened this issue Oct 30, 2014 · 0 comments
Milestone

Comments

@wli600
Copy link
Contributor

wli600 commented Oct 30, 2014

We encountered this stack trace while using release 2.4.3,

ArrayIndexOutOfBoundsException
com.fasterxml.jackson.dataformat.csv.impl.TextBuffer.finishAndReturn(TextBuffer.java:416)
com.fasterxml.jackson.dataformat.csv.impl.CsvReader._nextUnquotedString(CsvReader.java:694)
com.fasterxml.jackson.dataformat.csv.impl.CsvReader.nextString(CsvReader.java:610)
com.fasterxml.jackson.dataformat.csv.CsvParser._handleUnnamedValue(CsvParser.java:543)
com.fasterxml.jackson.dataformat.csv.CsvParser.nextToken(CsvParser.java:423)
com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:144)
com.fasterxml.jackson.databind.deser.std.ObjectArrayDeserializer.deserialize(ObjectArrayDeserializer.java:18)
com.fasterxml.jackson.databind.MappingIterator.nextValue(MappingIterator.java:189)

Able to repro and will submit a PR for this issue

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

2 participants