hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

Can't open drawio files due to error "Assertion Failed: argument is undefined or null" #383

Closed pbochynski closed 1 year ago

pbochynski commented 1 year ago

I reinstalled draw.io Integration plugin and now I can't open any drawio file (svg, png, or plain drawio). I always get an error when I click on the file:

Assertion Failed: argument is undefined or null

I tried to create new file or open very basic file created new one. I reinstalled the extension, restarted VSC and restarted my machine. Nothing helps. Do you have any hints where it comes from?

Screenshot 2023-04-14 at 14 27 29
pbochynski commented 1 year ago

I managed to resolve it myself - I deleted all entries with hediet in settings.json and restarted VSC. That helped. Probably some setting I had before was influencing new plugin version behavior.