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

Android: How can I store custom objects inside ArrayList in strings.xml
integration test with cargo-maven2-plugin have memory leak during the stop
Solving a challenge in JAVA. The challenge is mentioned below in the description. The logical bug I am facing is also in the description below
Animation triggered by buttonClick
java : Copying file from one machine to another throws java.nio.file.NoSuchFileException
Overriding Spring bean with using the parent properties
How to use ExecutorService shutdown in Android application
Make simple UI (with fragments/colums, smaller resolution screen and soft edges)
WAMP Server connection refuesed from Android Emulator
JSP dynamically change include page
Java: How to check if printer status
Javafx updating tableview on object change
Trouble deploying web service on Tomcat 8
Java EE 7 Webapp - Problems with REST-Services(json) after upgrading tika-parsers to 1.11
Eclipse: Java heap space, How to fix it?
How to return error from OFBiz SECA service

Categories

HOME
push-notification
tinymce
office365api
electron
objectgears
getelementsbytagname
analysis
binary-tree
sql-server-2016
autotools
medical
gitpitch
user-input
zend-framework3
messages
iron-router
clearcase-ucm
ghc
telephony
immutable.js
sox
firebase-crash-reporting
numerical-methods
underflow
maxmind
fluentvalidation
saas
libssl
vision
bluestacks
karaf
copying
calibre
hybridauth
language-concepts
wixsharp
suricata
vxworks
temporary-files
graphenedb
broadcastreceiver
fedex
ruby-on-rails-3.1
sql-server-agent
nand2tetris
midl
node-sass
skeleton-css-boilerplate
theming
hls.js
pebble-watch
rdfs
forever
zendesk-app
arrow-keys
hittest
httplistener
file-writing
intrusion-detection
underscore.js-templating
sigabrt
captivenetwork
tform
energy
qdialog
mutation-observers
computer-algebra-systems
microbenchmark
createprocessasuser
pretty-print
system.reflection
gadt
funcunit
message-driven-bean
fmod
imdbpy
industrial
eclipse-memory-analyzer
pushbackinputstream
random-seed
spring-validator
limejs
typoscript2
path-separator
isnullorempty
libc++
actionview
.nettiers
forums
brewmp
swing-app-framework

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App