ivolo / scraper

A simple API for phantom web scraping
9 stars 3 forks source link

uncaughtException: Cannot read property ‘length’ of null #6

Open ivolo opened 10 years ago

ivolo commented 10 years ago

{ date: ‘Mon Feb 24 2014 10:30:15 GMT+0000 (UTC)’,

  [ 'TypeError: Cannot read property \'length\' of null',
    '    at scraper/index.js:227:44',
    '    at Proto.apply (scraper/node_modules/phantom/node_modules/dnode/node_modules/dnode-protocol/index.js:123:13)',
    '    at Proto.handle (scraper/node_modules/phantom/node_modules/dnode/node_modules/dnode-protocol/index.js:99:19)',
    '    at D.dnode.handle (scraper/node_modules/phantom/node_modules/dnode/lib/dnode.js:140:21)',
    '    at D.dnode.write (scraper/node_modules/phantom/node_modules/dnode/lib/dnode.js:128:22)',
    '    at SockJSConnection.ondata (stream.js:51:26)',
    '    at SockJSConnection.EventEmitter.emit (events.js:95:17)',
    '    at Session.didMessage (node_modules/s-
leader/node_modules/scraper/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/transport.js:220:25)',
    '    at WebSocketReceiver.didMessage (scraper/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/trans-websocket.js:102:40)',
    '    at scraper/node_modules/phantom/node_modules/shoe/node_modules/sockjs/lib/trans-websocket.js:75:22' ] }