你好,替换文件之后,模拟器无法打开运行,报错如下:
Simulator: E/jswrapper (272): ERROR: Uncaught TypeError: Cannot read property ‘length’ of null, location: src/cocos2d-jsb.js:0:0
STACK:
[0]_activateNodeRecursively@src/cocos2d-jsb.js:28337
[1]activateNode@src/cocos2d-jsb.js:28388
[2]_activate@src/cocos2d-jsb.js:11693
[3]runSceneImmediate@src/cocos2d-jsb.js:9339
[4]anonymous@main.js:52
[5]anonymous@src/cocos2d-jsb.js:31069
[6]anonymous@src/cocos2d-jsb.js:25426
[7]anonymous@src/cocos2d-jsb.js:35827
[8]fireTimeout@jsb-adapter/jsb-builtin.js:2191
[9]tick@jsb-adapter/jsb-builtin.js:2148
E/jswrapper (562): [ERROR] (f:\jenkins\workspace\creator_2d\cocos2d-x-lite\windows\cocos2d-x-lite\cocos\scripting\js-bindings\jswrapper\v8\object.cpp, 562): Invoking function (1175C910) failed!
at HTMLElement.print-simulator-log (D:\CocosCreator\resources\app.asar\editor\builtin\scene\panel\messages\scene.js:1:1608)
at Object.e._dispatch (D:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\panel.js:1:1876)
at EventEmitter. (D:\CocosCreator\resources\app.asar\editor-framework\lib\renderer\ipc.js:1:2952)
at EventEmitter.emit (events.js:194:13)