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 - Finding the shortest path in a graph
Create a function that takes string object and returns Date object in dd-MM-yyyy format [duplicate]
Image IO Write not writing
How can I create a XML file using JAVA [duplicate]
Eclipse, Java from 2 src. folders?
WorkbookFactory.create(inputStream)
Lines of Action board with recursive
Log4J Duplicate Lines in Script Environment - When Don't Control RootLogger
What is the best way to send a method a dynamic number of variables? [duplicate]
IllegalMonitorStateException in Java [duplicate]
How to automate deeplinks using appium
Declaring shared variable between classes in java
Targeting images from a package
Anonymous inner classes and good practice [closed]
Using distinct in a mongo query in java
SWF : Get the result of all the activities in workflow starter program

Categories

HOME
pdf
jdo
reflection
ngrx
google-api-php-client
spagobi
xmpp
q
programming-languages
cmd
frameworks
qore
webrequest
amazon-cloudformation
elasticsearch-hadoop
task
quickfix
jsprit
angular-ui
solaris-10
kryo
jasonette
tapestry
google-search-api
format-specifiers
lcd
vlsi
facebook-access-token
galsim
siesta-swift
grails-3.1
asset-pipeline
subset-sum
bytecode-manipulation
host
adobe-premiere
swisscomdev
serverside-rendering
unoconv
quadratic-programming
slick-3.0
blogengine.net
tizen-native-app
mu
lift-json
wdf
libpng
fputcsv
persist
pagedlist
hsv
qtableview
icu4j
sailfish-os
createprocessasuser
sortedlist
apache-commons-net
gwidgets
socketexception
neolane
code-access-security
dml
valuechangelistener
geos
ora-00911
kyotocabinet
typoscript2
path-separator
automount
labwindows
postgresql-performance
code-cleanup
work-stealing
actionview
remember-me
mozilla-prism
firefox-5
database-management
libs
anti-piracy
mediarss





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