mongodb/mongo-java-driver — comment on commit e7b58d101d0307d0a3c10a2af92d1ce31784a043
File:  line 0
By rwallace:

Just tried this out. Ran into this exception right away.

app[ERROR]: java.lang.IllegalArgumentException: can't serialize class scala.collection.immutable.$colon$colon
app[ERROR]:	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:270)
app[ERROR]:	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:174)
app[ERROR]:	at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:226)
app[ERROR]:	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:155)
app[ERROR]:	at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:120)
app[ERROR]:	at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27)
app[ERROR]:	at com.mongodb.OutMessage.putObject(OutMessage.java:142)
app[ERROR]:	at com.mongodb.OutMessage._appendQuery(OutMessage.java:85)
app[ERROR]:	at com.mongodb.OutMessage.query(OutMessage.java:44)
app[ERROR]:	at com.mongodb.OutMessage.query(OutMessage.java:38)
app[ERROR]:	at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:303)
app[ERROR]:	at com.mongodb.DBCursor._check(DBCursor.java:369)
app[ERROR]:	at com.mongodb.DBCursor._hasNext(DBCursor.java:504)
app[ERROR]:	at com.mongodb.DBCursor.hasNext(DBCursor.java:529)
app[ERROR]:	at com.novus.salat.dao.SalatMongoCursorBase$class.hasNext(SalatMongoCursor.scala:45)
app[ERROR]:	at com.novus.salat.dao.SalatMongoCursor.hasNext(SalatMongoCursor.scala:145)
app[ERROR]:	at scala.collection.Iterator$class.foreach(Iterator.scala:660)
app[ERROR]:	at com.novus.salat.dao.SalatMongoCursor.foreach(SalatMongoCursor.scala:145)