Skip to content

Cannot read property 'classList' of null #552

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

Closed
jq-87 opened this issue Jan 24, 2018 · 15 comments
Closed

Cannot read property 'classList' of null #552

jq-87 opened this issue Jan 24, 2018 · 15 comments

Comments

@jq-87
Copy link

jq-87 commented Jan 24, 2018

Version

4.1.0

Browser and OS info

Chrome 63 / OSX 10.12.6

Steps to reproduce

this started happening today 1/24/17.

When toggling between vue dev tools and the chrome console, the console is saying:
backend.js:1 - Uncaught TypeError: Cannot read property 'classList' of null

I've cleared out all my js and this error still appears.

What is expected?

This error should not show - it is not from my code

What is actually happening?

There is an error from vue dev tools in my browser console


I'm using Vue.js version 2.5.11

@Akryum
Copy link
Member

Akryum commented Jan 24, 2018

We need a minimal reproduction.

@anteriovieira
Copy link
Contributor

anteriovieira commented Jan 24, 2018

@Akryum this same error happened to me. I would like to help by providing a replay to find the problem. But I do not know the way to do this, could you help me?

captura de tela de 2018-01-24 18-57-52

@anteriovieira
Copy link
Contributor

I think it's associated with this line.

@anteriovieira
Copy link
Contributor

Steps to reproduce the error:

  • Open the application in the browser. http://localhost:8080
  • Open the devtools
  • Select the vue tab
  • Select the console tab
  • Refresh the page

I could not reproduce the error using vue-devtools as the development environment. npm run dev:chrome

@taylorotwell
Copy link

I can also confirm error happening to me on latest tools.

@conoramanatullah
Copy link

I am also seeing the same issue.

@Pilfer
Copy link

Pilfer commented Jan 24, 2018

Confirming that it's an issue for me as well.

Version 63.0.3239.132 (Official Build) (64-bit)
Latest version of devtools.

Is anyone else getting an uncaught reference area when right clicking/using the context menu?

image

Associated with:

{const t=Object(o.a)(n);if(t)return e.__VUE_DEVTOOLS_CONTEXT_MENU_HAS_TARGET__=!0,void(e.__VUE_DEVTOOLS_CONTEXT_MENU_TARGET__=t)}e.__VUE_DEVTOOLS_CONTEXT_MENU_HAS_TARGET__=null,e.__VUE_DEVTOOLS_CONTEXT_MENU_TARGET__=null})})```

@anteriovieira
Copy link
Contributor

Fixed in #554

@tgosp
Copy link

tgosp commented Jan 24, 2018

@anteriovieira - looks good for me. Can we release and deploy now?

It's not super critical, but for example if you place new component somewhere in the page, you have to close and open again dev tools to see it. Only page refresh / hoc don't show new components in components list for me.

@nasirouwagana
Copy link

nasirouwagana commented Jan 24, 2018

@Pilfer, actually I have a same issue on :

Vue 2.5.13
Chrome : Version 63.0.3239.84 (Build officiel) (64 bits)
Latest version of devtools.

@Odaeus
Copy link

Odaeus commented Jan 26, 2018

Sorry to pester but this seems to have quite a big impact? My Vue devtools pane frequently "freezes" after I see this error in the console. Would it be possible to release this as 4.1.1 quickly?

@LinusBorg
Copy link
Member

Would it be possible to release this as 4.1.1 quickly?

4.1.1 is already out since yesterday.

image

If the problem persists with 4.1.1, please open a new issue.

@nasirouwagana
Copy link

The problem is solved. Thank you.

@Odaeus
Copy link

Odaeus commented Jan 26, 2018

My apologies, I was looking at this repository for the version to update (which was done a few minutes after my comment).

@LinusBorg
Copy link
Member

That's what happens when you quikcly push an important update ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants