运维中心,一直提示这个错误,请问这是一个什么问题

发布于 8 年前作者 yan0914616 次浏览最后编辑 8 年前来自 ask
  • 当前 Bug 的表现(可附上截图)

  • 预期表现

  • 复现路径

  • 提供一个最简复现 Demo

Cannot read property ‘method’ of null;at socketTask.onopen callback function TypeError: Cannot read property ‘method’ of null at Object._buildWebsocketFrame (<https://usr/app-service.js:1083:19941)>>>at Object.internalSend (<<<FLOATING LINK: https://usr/app-service.js:1083:20579)>at Function.

(https://usr/app-service.js:1083:21378)at i.emit (https://lib/WASubContext.js:1:221194)at https://lib/WASubContext.js:1:522630at https://lib/WASubContext.js:1:231639

Cannot read property ‘method’ of null;at App getFormParams function;at socketTask.onopen callback function TypeError: Cannot read property ‘method’ of null at Object._buildWebsocketFrame (<https://usr/app-service.js:1086:19965)>>>at Object.internalSend (<<<FLOATING LINK: https://usr/app-service.js:1086:20603)>at Function.

(https://usr/app-service.js:1086:21402)at i.emit (https://lib/WASubContext.js:1:221194)at https://lib/WASubContext.js:1:522630at https://lib/WASubContext.js:1:231639

代码中 没有.method。困扰已久,麻烦官方研发给看下,谢谢了。

2 回复
pshao
pshao1 楼6 年前

问题是否已解决,若未解决,麻烦补充下appid

songjuan
songjuan2 楼6 年前

是这个wxacd37ff25cd2ed6a,谢谢。