meteor - Exception from setTimeout callback: { stack: [Getter] } and Mongo error -


i'm getting following exception thrown:

=> meteor server restarted i20130820-00:17:58.852(3)? exception settimeout callback: { stack: [getter] } mongoerror: $or requires nonempty array i20130820-00:17:58.852(3)?     @ object.future.wait (/home/alexei/.meteor/tools/4010e5731d/lib/node_modules/fibers/future.js:326:15) i20130820-00:17:58.853(3)?     @ _.extend._nextobject (packages/mongo-livedata/mongo_driver.js:540) i20130820-00:17:58.853(3)?     @ _.extend.foreach (packages/mongo-livedata/mongo_driver.js:570) i20130820-00:17:58.853(3)?     @ _.extend.map (packages/mongo-livedata/mongo_driver.js:582) i20130820-00:17:58.853(3)?     @ _.extend.fetch (packages/mongo-livedata/mongo_driver.js:606) i20130820-00:17:58.853(3)?     @ _.each.cursor.(anonymous function) [as fetch] (packages/mongo-livedata/mongo_driver.js:444) i20130820-00:17:58.854(3)?     @ mongoconnection.findone (packages/mongo-livedata/mongo_driver.js:362) i20130820-00:17:58.854(3)?     @ _.extend.findone (packages/mongo-livedata/collection.js:225) i20130820-00:17:58.854(3)?     @ _.extend.findone (packages/collectionfs/collectionfs_common.js:4) i20130820-00:17:58.855(3)?     @ _.extend.checkqueue (packages/collectionfs/collectionfs_filehandlers.js:95) i20130820-00:17:58.855(3)?     - - - - - i20130820-00:17:58.855(3)?     @ object.toerror (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/utils.js:110:11) i20130820-00:17:58.855(3)?     @ cursor.nextobject.self.queryrun (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/cursor.js:634:54) i20130820-00:17:58.856(3)?     @ cursor.close (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/cursor.js:903:5) i20130820-00:17:58.856(3)?     @ cursor.nextobject.commandhandler (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/cursor.js:634:21) i20130820-00:17:58.856(3)?     @ db._executequerycommand (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/db.js:1658:9) i20130820-00:17:58.856(3)?     @ server.base._callhandler (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/connection/base.js:378:41) i20130820-00:17:58.856(3)?     @ server.connect.connectionpool.on.server._serverstate (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/connection/server.js:468:18) i20130820-00:17:58.857(3)?     @ mongoreply.parsebody (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5) i20130820-00:17:58.857(3)?     @ server.connect.connectionpool.on.server._serverstate (/home/alexei/.meteor/packages/mongo-livedata/86ae77f282/npm/node_modules/mongodb/lib/mongodb/connection/server.js:426:20) i20130820-00:17:58.857(3)?     @ eventemitter.emit (events.js:96:17) 

please advise, causing problem?

i'm on 0.6.5 meteor, 0.6.6 mrt, 0.10.13 node , 1.3.2 npm.

btw, application works fine :)

please advise.

thank you,

alexei

the query inside meteor.settimeout block of code has $or keyword contains empty array. need have @ least 2 items in there operation.

if you're having trouble/using kind of way build $or query update code block of code of further help


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -