tv icon indicating copy to clipboard operation
tv copied to clipboard

Cannot read property 'statusCode' of null

Open TangMonk opened this issue 7 years ago • 2 comments

Somethings the sever will throw error:

/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.6.1.0@tv/lib/index.js:182
                    statusCode: request.response.statusCode,
                                                ^

TypeError: Cannot read property 'statusCode' of null
    at server.on (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.6.1.0@tv/lib/index.js:182:49)
    at invoke (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:239:30)
    at each (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:243:13)
    at Object.exports.parallel (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.2.1.1@items/lib/index.js:70:13)
    at Object.internals.emit (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:260:18)
    at module.exports.internals.Plugin.internals.Podium._emit (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:140:15)
    at each (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:181:47)
    at Object.exports.parallel (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.2.1.1@items/lib/index.js:70:13)
    at relay (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:182:15)
    at Object.internals.emit (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:186:16)
    at internals.emitEmitter (/Users/tangmonk/Documents/mygit/nodejs/my_project/admin/api/node_modules/.1.2.5@podium/lib/index.js:272:15)
    at _combinedTickCallback (internal/process/next_tick.js:71:11)
    at process._tickDomainCallback (internal/process/next_tick.js:122:9)

TangMonk avatar Mar 17 '17 06:03 TangMonk

Any way to reproduce that ?

Marsup avatar Mar 17 '17 08:03 Marsup

@Marsup it is hard to reproduce, It is uncertainty but frequently, It maybe similar with #132

TangMonk avatar Mar 17 '17 08:03 TangMonk