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

Which version of casbah is that against? I'll dig into this shortly.
On Jan 31, 2012 10:38 PM, "Richard Wallace" <
reply@reply.github.com>
wrote:

> 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)
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/mongodb/mongo-java-driver/commit/e7b58d101d0307d0a3c10a2af92d1ce31784a043#commitcomment-921263
>