TypeError: Cannot read property 'length' of null
gravicle opened this issue · comments
Amit Jain commented
In Node v0.10.29:
[ERROR] 19:07:43 TypeError
TypeError: Cannot read property 'length' of null
at /Users/gravicle/Projects/apiTest/node_modules/node-summary/lib/summary.js:117:29
at splitContentToSentences (/Users/gravicle/Projects/apiTest/node_modules/node-summary/lib/summary.js:9:2)
at getSentencesRanks (/Users/gravicle/Projects/apiTest/node_modules/node-summary/lib/summary.js:116:2)
at Object.exports.getSortedSentences (/Users/gravicle/Projects/apiTest/node_modules/node-summary/lib/summary.js:181:2)
at Object.summaryForBookmark (/Users/gravicle/Projects/apiTest/summarize.js:6:11)
at summarizeTextForBookmark (/Users/gravicle/Projects/apiTest/bookmarksProcessor.js:60:13)
at fn (/Users/gravicle/Projects/apiTest/node_modules/async/lib/async.js:641:34)
at Object._onImmediate (/Users/gravicle/Projects/apiTest/node_modules/async/lib/async.js:557:34)
at processImmediate [as _immediateCallback] (timers.js:336:15)
James Brooks commented
Can you pull the latest version and try again please?