We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
readValues(null)
@Test public void testEmptyStream() throws InterruptedException { log.info("Start"); SimpleModule module = new SimpleModule(); CsvMapper csvMapper = new CsvMapper(); csvMapper.registerModule(module); try { InputStreamReader reader = null; CsvSchema columns = CsvSchema.emptySchema().withHeader().withColumnSeparator(';'); csvMapper.readerFor(Map.class).with(columns).readValues(reader); } catch (IOException e) { log.warn("Can't read data from csv file {}", e); } log.info("finish"); }
provided code can freeze execution of the thread completely tested with: 2.9.8 version
The text was updated successfully, but these errors were encountered:
Interesting. Let me see if I can reproduce.
Sorry, something went wrong.
Yes, seems to get into infinite loop somewhere. Will need to check out stack trace for more info.
14f8a0a
Fix FasterXML#122
c673c7c
No branches or pull requests
provided code can freeze execution of the thread completely
tested with: 2.9.8 version
The text was updated successfully, but these errors were encountered: