bwbwbwbw / ingress-exporter

Export all portals, links, fields and system broadcasts in a specific area.
MIT License
84 stars 43 forks source link

TypeError: Cannot read property 'length' of undefined #28

Closed vavoluk closed 9 years ago

vavoluk commented 9 years ago
2015-06-14T11:01:28.635Z - info: [Portals] 0%   [88/41842]      1708ms  15 portals, 0 links, 0 fields

/home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/base.js:245
        throw message;      
              ^
TypeError: Cannot read property 'length' of undefined
    at Object.async.each (/home/vavoluk/ingress-exporter/node_modules/async/lib/async.js:120:17)
    at Object.GLOBAL.Agent.resolveFromPortalDetail (/home/vavoluk/ingress-exporter/build/lib/agent.js:38:20)
    at /home/vavoluk/ingress-exporter/build/lib/entity.js:100:26
    at /home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/collection/core.js:743:14
    at /home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/db.js:1132:7
    at /home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/db.js:1846:9
    at Server.Base._callHandler (/home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/base.js:445:41)
    at /home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:468:18
    at MongoReply.parseBody (/home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
    at null.<anonymous> (/home/vavoluk/ingress-exporter/node_modules/mongoskin/node_modules/mongodb/lib/mongodb/connection/server.js:426:20)

How to fix this?