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 read property 'webview' of null #14

Open
pasviegas opened this issue Jun 23, 2020 · 7 comments
Open

Cannot read property 'webview' of null #14

pasviegas opened this issue Jun 23, 2020 · 7 comments

Comments

@pasviegas
Copy link

Hi! I am trying to use the latest version from vscode marketplace and I am getting the error above.

The stacktrace doesn't say much:

mainThreadExtensionService.ts:66 TypeError: Cannot read property 'webview' of null
	at W$ (.../share/vscode/extensions/mauricioszabo.clover/lib/main.js:2633)

I want to use Lumo and this seems to be the only socket repl plugin available.

I didn't dig much into the issue, do you have any idea of what can it be? :)

@mauricioszabo
Copy link
Owner

Hi, just published a new version. Tested here, and seems that it's working. Can you see if you find any issues?

@pasviegas
Copy link
Author

I tried again with the new version and I get the same error. I noticed that the "REPL Window" was ok on 0.0.6 and from 0.0.7 the window doesn't open and this bug shows in the debug console.

@mauricioszabo
Copy link
Owner

@pasviegas, okay, I'm gonna try to see what's happening. What's your current VSCode version? Are you using vscode, or vscodium?

@pasviegas
Copy link
Author

Thanks man! If there is anything I can do to help, please let me know, I will probably download the extension over the weekend to check it out myself too.

It's vscodium 1.46.1.

Thanks again! :)

@sogaiu
Copy link

sogaiu commented Jun 25, 2020

As a data point, I've tested with VSCode 1.46.0 and 1.46.1 using Clover 0.1.1 and don't notice this error.

This is on a Ubuntu-derivative distribution.

@mauricioszabo
Copy link
Owner

@pasviegas which operating system are you running VSCodium?

@mauricioszabo
Copy link
Owner

Ok, for a little bit more info: I tried to install VSCodium on Windows to see if it was an OS problem (I currently develop the plug-in for codium on Linux, so I believe my dev machine would not be a good fit to test if things are working).

Something strange happened: I could only see version 0.1.0 when I searched. I remembered that I did not publish to "Eclipse Open VSX" repository, and tried to deploy to it. Then, the version number bumped 0.1.1. Don't know if this could be your problem - because, I was not able to reproduce this issue on Code nor Codium (both were installed right now)...

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