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: Manipulate docx document saved in Clob/Blob as text
ClassCastException retriving element on a generic list
Restrict documents returned by spring-data-rest
Java classpath and classloading
HTTP Status 500 - No Token available. twiiter4j 4.0.3
Minesweeper Java Inheritence
How to set each char of a string to a different TextView in a loop
Java - Best way to compare two Sets by hashes (via ==)
Fetching row from Cassandra table with Spring
HTTP Status 400 - The request sent by the client was syntactically incorrect
java command pattern example with Runnable class : Is Receiver missing?
Method undefined for type Java
Extending JASIG CAS for Authorization
How to call setter in chain of Stream
Merge two Maps (Map<String, Map<String, Object>>) with duplicate keys
Take all ontology classes to an arraylist from .owl file using Java

Categories

HOME
xamarin
deployment
debugging
iot
bpmn
jira
leon
packages
webpack-2
esper
kentor-authservices
phaser
ups
clearcase-ucm
highlight.js
solaris-10
google-pagespeed
jtextfield
zapier
web-sql
sylius
java-7
facebook-access-token
phpfox
entitlements
skia
media-queries
bosh
siesta-swift
google-sites-2016
scorm2004
typed.js
kendo-ui-grid
webtest
android-nestedscrollview
hot-module-replacement
serverside-rendering
objectlistview
webdriver-manager
elasticsearch-plugin
unoconv
texmaker
acoustics
convertapi
angular2-meteor
executenonquery
revapi
errordocument
dandelion
alphabet
feeds
nested-sets
medium.com
savon
azure-virtual-network
adxstudio-portals
multi-level
contact-list
pagedlist
two-factor-authentication
xpath-1.0
appfabric-cache
sniffer
ami
iiviewdeckcontroller
ng-animate
codeigniter-url
aapt
uv-mapping
runtime.exec
dotnetnuke-5
dataservice
file-locking
batterylevel
jquery-mobile-dialog
sabredav
wsdl-2.0
path-separator
dotnethighcharts
mercurial-server
libc++
invite
cinema-4d
actionview
revisions
thread-local-storage
ubuntu-9.04
data-acquisition

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile