Comments (13)
Without test data this is going to be a tough one. MalformedInputException usually means the string contains invalid characters (in this case invalid for UTF-8). Can you confirm this? Would it be possible to provide a test file that contains only this specific string?
Cheers,
Michel
from bson4jackson.
I'm about to release a new version of bson4jackson that is compatible to Jackson 2.3. I will close this issue due to inactivity. If you get to reproduce the problem with data that can be shared feel free to open the issue again.
Thanks,
Michel
from bson4jackson.
Hi,
Someone has described same behavior on Jongo ML : https://groups.google.com/forum/?fromgroups=#!topic/jongo-user/Lj8bvsBjEao
I was able to reproduce the bug described in this issue with bson4jackson 2.3.0 using the content.txt (json file) provided into the post.
I'm going to investigate
from bson4jackson.
Probably related to something like http://stackoverflow.com/questions/14381704/the-type-generates-a-string-that-requires-more-than-65535-bytes-to-encode-in-utf
from bson4jackson.
Hi @michel-kraemer, can this issue be reopened ?
from bson4jackson.
@bguerout I'm sorry for the late answer. End of the year is always a busy time at the office! :-/ I'll try to investigate the issue later today or tomorrow. If it can be reproduced, it can be fixed!
from bson4jackson.
No problem, i know what you are talking about :-)
from bson4jackson.
The commit I just uploaded should fix the problem. Can you please test it and report if the problem persists? Building bson4jackson should be as simple as running ./gradlew install
but I can send you a binary if you like.
from bson4jackson.
Indeed this is fixed.
Thanks
from bson4jackson.
Thanks for the feedback. If you need a new version just let me know.
from bson4jackson.
Thanks! Whenever you release a new version (to maven), I can easily check to see if my case is fixed as well.
from bson4jackson.
Version 2.3.1 has just been released. Should be available at Maven central in a couple of minutes.
Cheers,
Michel
from bson4jackson.
Sorry for the delay, but 2.3.1 does indeed fix the issue I was hitting. Thanks very much!
from bson4jackson.
Related Issues (20)
- Version 2.13 does not contain OSGi metadata anymore HOT 2
- UTF-8 conversion is significantly slower with BSON than regular JSON HOT 4
- Create 2.8 version for Jackson 2.8 HOT 9
- Reopen issue #35 HOT 1
- Leading 4 bytes are all zeroes HOT 16
- How to enable a feature in BsonGenerator.java ? HOT 8
- unexpected block in ObjectMapper.readValue() in BSON streaming situation HOT 1
- BigDecimal precision HOT 1
- BsonGenerator does not handle null values correctly HOT 3
- BsonFactory doesn't override 'createParser(DataInput in)' method HOT 2
- UnsafeByteArrayInputStream.read for bytes >= 0x80 returns negative integer, caller thinks "Oh, EOF" HOT 1
- Buffer caching for heavy multithreaded load HOT 6
- Release 2.10.x version (+ test and document compatibility with Jackson 2.10.x)
- Failed to deserialize object HOT 2
- com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input HOT 2
- Support for Jackson 2.12 HOT 2
- ObjectId no longer compatible with mongodb ObjectId
- Decimal128 should extend Number & implement Comparable
- Serialization performance with large objects HOT 1
- IllegalStateException found when fuzzing bson4jackson HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bson4jackson.