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

java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFWorkbook.createDataFormat()Lorg/apache/poi/hssf/usermodel/HSSFDataFormat;
How to divide up the processing of a giant 3D cube?
How to show two identical camera previews with the Android camera?
classpath configuration for gui support on embedded device
Incompatible types when adding to ArrayList
Template Development Workflow with Spring?
Get seed of Java's RNG with getInt(int n) method
NullPointerException error for an SQL code
inheritance in java (compile error)
what should I do when DocumentFilter not listening for changes?
Connect Google App Engine Eclipse Plugin to Cloud SQL
JPA can't access PostgreSQL due to cast problems
Resize window calls paintComponent each time Window is resized?
Oauth Account Manager return error credentials
Get messages.log style logging out of embedded neo4j
Remove border on JTable header

Categories

HOME
ibm-bluemix
hive
appx
sd-card
octobercms
kalman-filter
rdf
fsm
angular-ui-bootstrap
onelogin
cloudkit
reveal.js
wheelnav.js
quickbooks
n-gram
visual-studio-2005
windows-server-2012
iron-router
workload-scheduler
http-status-code-504
jqwidget
jprofiler
scriptcs
abi
arabic
tar
css-animations
excel-2007
pass-by-reference
zurb-foundation-6
firebase-crash-reporting
android-widget
buildbot
bootstrap-material-design
social-media
publish
saas
vision
unboundid
nouislider
key-value-observing
xquery-3.0
code-contracts
accelerate-framework
simplexml
jquery-bootgrid
service-discovery
hue
android-fingerprint-api
cookiecutter-django
tasker
ncalc
reportingservices-2005
fakeiteasy
checkboxlist
boost-multi-index
clean-architecture
lowpass-filter
url-pattern
vmware-tools
httplistener
xml-attribute
impresspages
moveit
qcustomplot
testng-dataprovider
bgp
tform
eclipse-clp
thredds
comobject
rgeo
ionic
system32
angular-local-storage
web-controls
block-device
tween
coldbox
asp.net-dynamic-data
mdt
jubula
xceed-datagrid
imdbpy
tws
django-nonrel
plasma
interface-orientation
e4x
funscript
window-management
zpt
deobfuscation
xdomainrequest
actionview
mysql-error-1005
mirah
thread-local-storage
grid-system
signal-handling

Resources

Encrypt Message