marcellourbani / vscode_abap_remote_fs

Remote filesystem for ABAP systems
MIT License
171 stars 28 forks source link

"TypeError: Cannot read propery 'scheme' of undefined" on activation #57

Closed christianguenter2 closed 5 years ago

christianguenter2 commented 5 years ago

When I try to activate a report (or class) on NW 752 SP01 dev edition I get this error. "TypeError: Cannot read propery 'scheme' of undefined"

image

marcellourbani commented 5 years ago

@christianguenter2 do you have any debug information in the output panel?

image

Anyway should be easy enough to find, it's surely a missing undefined check

christianguenter2 commented 5 years ago

hm, nothing there. grafik

marcellourbani commented 5 years ago

Wrong selection, that's abaplint :)

Almost surely was this:

image

and the next release will fail more gracefully, but should never happen if you run it with the button. If you run it from the command palette though, it won't get the right URI in the caller. Will look better tomorrow.

christianguenter2 commented 5 years ago

Sorry, I obviously don't know what I'm doing ;-) image

If I clear the output and activate again the error is shown but no entry is written to output.

marcellourbani commented 5 years ago

@christianguenter2 I just published a new release which among other things should fix this issue, at least by failing nicely.

Did you start the release command with the icon or manually from the command palette?

christianguenter2 commented 5 years ago

Great, now it works. I started the activation from the command palette. Didn't know there's an icon ;-)

Thanks a lot and keep going with this great work. Closing.

marcellourbani commented 5 years ago

Great, thanks!

It's starting to get usable, but has so many bugs!