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

Cannot convert undefined or null to object #60

Open
coldserenity opened this issue Jul 19, 2018 · 4 comments
Open

Cannot convert undefined or null to object #60

coldserenity opened this issue Jul 19, 2018 · 4 comments

Comments

@coldserenity
Copy link

I'm on Fedora 28 Linux with stock Gnome.
I have configured my application to listen for a debugger and in the debugger trying to create a connection to the running project.
Following is what I receive immediately after specifying port and project name
image

@coldserenity
Copy link
Author

Restart does no good. Stack trace text for convenience

TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Object.t.setComputedState [as function] (file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:20:174081)
at e.value (file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:40321)
at file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:45244
at r.executeBranchWrapper (file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:43008)
at t (file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:44472)
at n (file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:44499)
at file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:44810
at e.value (file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:41784)
at file:///opt/Cerebral%20Debugger/resources/app.asar/electron/build/bundle.js:1:45244

@rafaelbusetti
Copy link

rafaelbusetti commented Jul 20, 2018

Also here. (version windows 3.0.0)

TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Object.t.setComputedState [as function] (file:///C:/Users/rafa/AppData/Local/Programs/cerebral-debugger/resources/app.asar/electron/build/bundle.js:20:174081)

@coldserenity
Copy link
Author

Forgot to mention. In my case, it's Cerebral Debugger v3.0.0
I have tried v2.5.1; at a glance, it works properly

@christianalfoni
Copy link
Member

Hi there!

Sorry for an extremely late answer. There has been issues related to Cerebral debugger and hot reloading. The latest debugger version 3.1.0 and now in the next branch there is a fix for hot reloading.

Run latest debugger and install Cerebral with cerebral@next and whatever view layer you use, for example @cerebral/react@next to try it out or wait for pending release :)

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

3 participants