收藏
回答

11150版本bug如下,null指针

\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js, msg: TypeError: Cannot read property 'r' of null

    at new h (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\5b7e808cbfe14a62c21959fb1771749d.js:1:523)

    at Proxy.fromHex (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\5b7e808cbfe14a62c21959fb1771749d.js:1:952)

    at Function.module.exports.c [as mapToProps] (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\d3fc1d4b6cfd440a6300e62456252a06.js:1:568)

    at mapToPropsProxy (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54:92)

    at handleNewState (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:63:26)

    at handleSubsequentCalls (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:80:30)

    at pureFinalPropsSelector (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85:32)

    at Object.runComponentSelector [as run] (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43:25)

    at Connect.componentWillReceiveProps (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:167:23)

    at callComponentWillReceiveProps (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-dom\cjs\react-dom.development.js:6372:14)


回答关注问题邀请回答
收藏

2 个回答

  • 洋葱头
    洋葱头
    2017-11-16

    抱歉这是我们的 bug,请检查 app.json 中的 navigationBarBackgroundColor 是否是合法颜色值,以及是否有调用 setNavigationBarColor 并传入了非法的 backgroundColor  值


    2017-11-16
    有用
    回复
  • 来者可追
    来者可追
    2017-11-16

    Uncaught TypeError: Cannot read property 'r' of null

        at new h (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\5b7e808cbfe14a62c21959fb1771749d.js:1)

        at Proxy.fromHex (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\5b7e808cbfe14a62c21959fb1771749d.js:1)

        at Function.module.exports.c [as mapToProps] (D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\d3fc1d4b6cfd440a6300e62456252a06.js:1)

        at mapToPropsProxy (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\wrapMapToProps.js:54)

        at handleNewState (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:63)

        at handleSubsequentCalls (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:80)

        at pureFinalPropsSelector (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\connect\selectorFactory.js:85)

        at Object.runComponentSelector [as run] (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:43)

        at Connect.componentWillReceiveProps (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-redux\lib\components\connectAdvanced.js:167)

        at callComponentWillReceiveProps (D:\tools\Tencent\微信web开发者工具minapp\package.nw\node_modules\react-dom\cjs\react-dom.development.js:6372)

    D:\tools\Tencent\微信web开发者工具minapp\package.nw\js\29cbb96f0d87ca0a3ee63c5dbbd8107c.js:1 TypeError: Cannot read property 'r' of null


    2017-11-16
    有用
    回复
登录 后发表内容