clover icon indicating copy to clipboard operation
clover copied to clipboard

Cannot read property 'webview' of null

Open pasviegas opened this issue 5 years ago • 7 comments

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? :)

pasviegas avatar Jun 23 '20 18:06 pasviegas

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

mauricioszabo avatar Jun 24 '20 05:06 mauricioszabo

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.

pasviegas avatar Jun 24 '20 18:06 pasviegas

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

mauricioszabo avatar Jun 24 '20 21:06 mauricioszabo

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! :)

pasviegas avatar Jun 24 '20 21:06 pasviegas

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.

sogaiu avatar Jun 25 '20 00:06 sogaiu

@pasviegas which operating system are you running VSCodium?

mauricioszabo avatar Jun 25 '20 02:06 mauricioszabo

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)...

mauricioszabo avatar Jun 25 '20 03:06 mauricioszabo