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

Internal Dirac Error: Cannot read property 'text' of undefined #32

Closed
superstructor opened this issue Aug 23, 2016 · 5 comments
Closed
Labels

Comments

@superstructor
Copy link

[binaryage/dirac "0.6.3"]
[binaryage/devtools "0.8.1"]
[powerlaces/boot-cljs-devtools "0.1.1"]

Chrome 54.0.2836.0 canary on macOS.

On loading the page the normal CLJS DevTools / Dirac Runtime installation messages are printed in the console, then shortly after the following exception is printed in the console. CLJS REPL still appears to be working regardless.

Internal Dirac Error: DevTools code has thrown an unhandled exception
TypeError: Cannot read property 'text' of undefined
    at WebInspector.RuntimeDispatcher.exceptionThrown (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:6309:180)
    at Object.dispatch (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4355:63)
    at WebInspector.WebSocketConnection.dispatch (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4295:31)
    at WebInspector.WebSocketConnection._onMessage (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:10993:31)
@pepe
Copy link

pepe commented Aug 23, 2016

I have same issue, only not on Page Load, but when any exception is thrown by my re-frame application.

Same dependencies as @superstructor, Chrome 54.0.2837.0 canary on OS X 10.11.6.

Output in the vanila dev tools:
Error rendering component (in mtrack_planner.views.main_panel)
Uncaught Error: Oops

Output in the Dirac dev tools:
Error rendering component (in mtrack_planner.views.main_panel)

Internal Dirac Error: DevTools code has thrown an unhandled exception
TypeError: Cannot read property 'text' of undefined
    at WebInspector.RuntimeDispatcher.exceptionThrown (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:6309:180)
    at Object.dispatch (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4355:63)
    at WebInspector.WebSocketConnection.dispatch (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:4295:31)
    at WebInspector.WebSocketConnection._onMessage (chrome-extension://kbkdngfljkchidcjpnfcgcokkbhlkogi/devtools/front_end/inspector.js:10993:31)

@superstructor
Copy link
Author

superstructor commented Aug 23, 2016

The application for which I have this issue is also using [re-frame 0.8.0].

@superstructor superstructor changed the title Internal Dirac Error on Page Load Internal Dirac Error: Cannot read property 'text' of undefined Aug 23, 2016
@pepe
Copy link

pepe commented Aug 23, 2016

Thanks for mentioning. For me it is [re-frame 0.7.0]

@darwin
Copy link
Member

darwin commented Aug 23, 2016

This is probably caused by new Canary version not matching older DevTools included in Dirac v0.6.3.

I'm about to release Dirac v0.6.4 which will likely fix it. Will get to it on Thursday.

@darwin darwin added the bug label Aug 23, 2016
@darwin
Copy link
Member

darwin commented Aug 25, 2016

This error should go away after upgrading to v0.6.4.

Please reopen if not.

@darwin darwin closed this as completed Aug 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants