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

Browser based web app vs Mobile App?
issues generate code from PDQSupplier wsdl from apache axis2
Permutation of a 2D array
Multiplying an array and a 2-d array in java
Cannot query SQL Server table containing Arabic from my Java app using HQL
Not able to get desired output while working with PartioningBy and groupingBy together
Hibernate - where clause any with collection as a named parameter query
How to read a resource in one java package (osgi bundle) from within another
hibernate repositiory without #Entity
GXT HtmlEditor? : Retrieve selected text
Select all element that start with a specific numbers [duplicate]
Java - Accessing a subclass constructor in a different class
Dynamic Reports BigDecimal
How to optimize groupBy() operation on Spark RDD
java regular expression comma separated numbers
Continuously animate Text from left to right

Categories

HOME
wso2-am
mockito
drivers
google-api-php-client
google-docs
yahoo-oauth
amortized-analysis
fingerprint
append
adfs
ssl-client-authentication
wheelnav.js
collectd
circular-dependency
spring-tool-suite
alignment
messages
workload-scheduler
ef-migrations
beyondcompare
nhibernate-envers
plunker
zapier
object-detection
arabic
graphicsmagick
accessor
tapestry
smb
fgetcsv
maxmind
publish
elasticsearch-net
ejabberd-module
facebook-apps
instant-messaging
bcd
galsim
uiswipegesturerecognizer
suricata
restlet
neuroscience
webix-treetable
impersonation
powershell-dsc
fakeiteasy
vao
netcdf4
node-sass
thin
wptoolkit
logfiles
celery-task
worker-thread
r-forge
sqlbulkcopy
arrow-keys
jspdf-autotable
minimization
word-vba-mac
rotativa
savon
contact-list
nsviewcontroller
persist
captivenetwork
reactive-banana
execute
lemon
mono-embedding
processmodel
remobjects
oberon
lustre
umbraco6
offloading
gwidgets
applescript-objc
titanium-modules
system.net.webexception
htmlcleaner
algebraic-data-types
oam
dir
http-unit
angularjs-controller
unc
coderush
jspinclude
nsdatecomponents
invite
krl
pyinotify
revisions
suppress
rescale
premature-optimization
scripting-languages
private-members
post-build
wsdl.exe

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile