java


java mongo about org.bson.BsonSerializationException


Recently I found that Java-mongodb-driver offered some exceptions:
org.bson.BsonSerializationException: Detected unknown BSON type "\xce" for fieldname "����\�z". Are you using the latest driver version?
org.bson.BsonBinaryReader.readBsonType(BsonBinaryReader.java:95)
com.mongodb.connection.ProtocolHelper.getField(ProtocolHelper.java:87)
com.mongodb.connection.ProtocolHelper.isCommandOk(ProtocolHelper.java:82)
com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:113)
com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:176)
com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:216)
com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:207)
com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:113)
com.mongodb.operation.FindOperation$1.call(FindOperation.java:516)
com.mongodb.operation.FindOperation$1.call(FindOperation.java:510)
com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:431)
com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:404)
com.mongodb.operation.FindOperation.execute(FindOperation.java:510)
com.mongodb.operation.FindOperation.execute(FindOperation.java:81)
com.mongodb.Mongo.execute(Mongo.java:836)
com.mongodb.Mongo$2.execute(Mongo.java:823)
com.mongodb.FindIterableImpl$FindOperationIterable.first(FindIterableImpl.java:216)
com.mongodb.FindIterableImpl.first(FindIterableImpl.java:156)
I want to know what circumstance can cause this problem, how to solve

Related Links

Prepare SAML Authentication request using OpenSaml3.1.1
How do i append a new text at JLabel?
Persists an object with Hibernate
Location of JSP Java code that Tomcat translated [duplicate]
How to do Multiple URL Mapping (aliases) in Spring Boot
Execution of static methods from native c code
Passing Android Java Strings to Node.js Server and then into PostgreSQL
How can I get POST variable form HTTP header with java?
Controlling number of Threads for ManagedExecutorServices / Java EE 7
mongodb java driver 3.0: how to store JSON document
JWindow not repainting until JFrame returns from while loop
Image URL with his key in the Google Cloud Storage
Interacting with a webview (JAVA ANDROID)
Java Get the position of a value using an arraylist
implement public void edit(T entity) AbstractFacade java
How do I load up configuration params defined in a XML file?

Categories

HOME
twitter
arduino-uno
deezer
google-play
plone
stock
tesseract
octobercms
framework7
tizen-web-app
amazon-ecs
onelogin
autotools
basic
windows-10-universal
user-input
moonmail
windows-server-2012
quartz-scheduler
caml
after-effects
jqwidget
text-rendering
contextmenu
firefox-webextensions
functional-testing
extjs5
cultureinfo
rundeck
xpages-ssjs
virtualdub
applozic
instant-messaging
pim
phpfreechat
overriding
suricata
multilingual
twitch
xenforo
eclipse-scout
fedex
http-live-streaming
total-commander
scorm
avconv
taffy
atomicity
celery-task
blogengine.net
brightcove
composite-key
nodebb
android-cursor
gcsfuse
bind9
query-performance
setuptools
player
python-stackless
sdf
suffix-tree
sdhc
pundit
unity3d-gui
pretty-print
lustre
umbraco6
angularjs-ng-click
cdt
internet-connection
uv-mapping
jsctypes
batterylevel
eventual-consistency
yui-compressor
free-variable
chuck
bluepill
frameset
eclipse-templates
disclosure
w3wp.exe
google-friend-connect
sudzc
xsdobjectgen
nsviewanimation
fixed-width
libs
scripting-languages
grid-system

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile