Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View inspector throws exception #68

Open
NickolasHu opened this issue Jun 28, 2017 · 0 comments
Open

View inspector throws exception #68

NickolasHu opened this issue Jun 28, 2017 · 0 comments
Assignees

Comments

@NickolasHu
Copy link
Contributor

NickolasHu commented Jun 28, 2017

Description

[Enter steps to reproduce:]

  1. Connect debug
  2. click random view in inspector tab

Thera: http://skycloud-oss.cn-shanghai.oss.aliyun-inc.com/thera/ide/auto/thera-mac-0.6.4-dev.10.zip
Atom: 1.18.0-dev-467f1b6 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: symbols-tree-view package 0.13.24

Stack Trace

Uncaught TypeError: Cannot read property 'fromString' of undefined

At /Applications/Thera.app/Contents/Resources/app/node_modules/symbols-tree-view/lib/property-layer-view.js:472

TypeError: Cannot read property 'fromString' of undefined
    at PropertyLayerView.module.exports.PropertyLayerView.updateProperties (/Applications/Thera.app/Contents/Resources/app/node_modules/symbols-tree-view/lib/property-layer-view.js:472:34)
    at PropertyLayerModel.propertyUpdateListener (/Applications/Thera.app/Contents/Resources/app/node_modules/symbols-tree-view/lib/main.js:52:46)
    at PropertyLayerModel.module.exports.PropertyLayerModel.PropertyLayerModel.computedStyleForNode (/Applications/Thera.app/Contents/Resources/app/node_modules/symbols-tree-view/lib/property-layer-model.js:100:23)
    at atom-workspace.PropertyLayerModel.subscriptions.add.atom.commands.add.layer:property (/Applications/Thera.app/Contents/Resources/app/node_modules/symbols-tree-view/lib/property-layer-model.js:14:28)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:265:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:166:19)
    at Object._inspectorHandler (/app.asar/node_modules/thera-debugger/lib/core/InspectorModel.js:196:23)
    at Object.dispatchPreviewChannelEvent (/app.asar/node_modules/thera-debugger/lib/core/InspectorModel.js:171:14)
    at /app.asar/node_modules/thera-debugger/lib/core/InspectorModel.js:29:20)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:265:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:166:19)
    at Object._dispatchUtf8 (/Applications/Thera.app/Contents/Resources/attach-package/weex-run/lib/wsBridge.js:61:21)
    at Object.dispatch (/Applications/Thera.app/Contents/Resources/attach-package/weex-run/lib/wsBridge.js:51:12)
    at Object.dispatch (/Applications/Thera.app/Contents/Resources/attach-package/weex-run/lib/wsBridge.js:23:21)
    at PreviewClient.onRecvCallback (/Users/nickolas/Proj/falcon/weex-run-new/lib/previewClient.js:143:23)
    at emitOne (events.js:96:13)
    at WebSocketConnection.emit (events.js:188:7)
    at WebSocketConnection.processFrame (/Applications/Thera.app/Contents/Resources/attach-package/weex-run/node_modules/websocket/lib/WebSocketConnection.js:547:26)
    at /Applications/Thera.app/Contents/Resources/attach-package/weex-run/node_modules/websocket/lib/WebSocketConnection.js:321:40
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -0:25.4.0 layer:hovering (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:25.4.0 thera-debugger:inspector:command (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:25.4.0 thera-debugger:inspector:recv (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:25.4.0 layer:property (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:24.8.0 layer:selected (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:24.8.0 thera-debugger:inspector:command (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:24.8.0 layer:hovering (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:24.8.0 thera-debugger:inspector:command (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:24.8.0 thera-debugger:inspector:recv (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:24.8.0 layer:property (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:16.9.0 layer:selected (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:16.9.0 thera-debugger:inspector:command (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:16.9.0 layer:hovering (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:16.9.0 thera-debugger:inspector:command (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:16.9.0 thera-debugger:inspector:recv (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)
     -0:16.9.0 layer:property (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-dark-syntax.theme-one-dark-ui)

Non-Core Packages

builder-plugin-weex 1.0.1 
coffee-autocompile 0.6.2 
file-icons 2.0.17 
hyperclick 0.0.40 
js-hyperclick 1.11.0 
language-vue 0.23.0 
last-cursor-position 0.9.2 
minimap 4.28.2 
open-terminal-here 2.3.0 
react 0.16.2 
save-workspace 0.4.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants