Error: The document ... .rules has not been opened

Dear Everyone!

Since updating to M5, I got the following error when I’m editing one of my rule. It seems that it only appears at that file… I don’t really understand what it meant to inform. This is not a new file…

==> /var/log/openhab2/openhab.log <==

2018-11-02 19:02:03.144 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.146 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.254 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.256 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.562 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.564 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.741 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.744 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.823 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:03.825 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:04.311 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:04.312 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:04.748 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:04.758 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:04.844 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:04.846 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:05.057 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:05.060 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:05.477 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

2018-11-02 19:02:05.481 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Denon.rules has not been opened.

I’ve got this problem too - previously the errors listed in the Problems tab of VBCode stopped working, then after foolishly answering yes to the “do I want to create the file” dialog I get a bucket load of errors in Openhab.log whenever I edit the existing rules file. It also has created a blank rules file on my PC’s C Drive in C:\etc\Openhab2\rules
Where can I tell VBCode that the correct path to the files I’m editing?
Openhab is running on Debian with /etc/openhab redirected to /home/folder/etc/openhab with a symbolic link, and my Windows PC has a mapped drive to /home/folder/
The correct rules file is in V:\openhab2\etc\openhab2\rules whereas the empty new file has been created in C:\etc\openhab2\rules
Clicking on the items in the Problems tab opens the file in C:\etc\openhab2\rules\

Errors from Openhab.log below

 2018-11-14 18:46:56.082 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Heatpumpwip.rules has not been opened.

 2018-11-14 18:46:55.067 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Heatpumpwip.rules has not been opened.

 2018-11-14 18:46:54.751 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Heatpumpwip.rules has not been opened.

 2018-11-14 18:46:49.970 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Heatpumpwip.rules has not been opened.

 2018-11-14 18:46:49.703 [ERROR] [se.xtext.ide.server.WorkspaceManager] - The document file:///etc/openhab2/rules/Heatpumpwip.rules has not been opened.

I forgot to reply here, but for me the error is gone after a 1-2 restart…
Now I don’t see any errors like this.

I’ll try that in the morning, and report back. Hope it’s that easy :slight_smile:

Happy to say it was that easy. All quiet on the log front after a server and VSCode reboot :grin: