AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

Cannot init component state #76

Closed sashanke closed 2 years ago

sashanke commented 2 years ago

Everytime i start Intellij all Elasticsearch conections are gone and this stacktrace comes up.

I have already tried to reinstall the Plugin but the error persists.

Steps to reproduce:

Create a new Connection 2022-04-22 08_00_49-Window 2022-04-22 08_01_37-Window 2022-04-22 08_02_17-Window

Until restart, everything works just fine but after closing and reopening Intellij its gone.

2022-04-22 08_07_34-Window

AntonShuvaev commented 2 years ago

Hi,

Can you try to remove globalElasticsearchSettings.xml file? It should be somewhere about /Users/anton/Library/Application Support/JetBrains/IdeaIC2022.1/options/globalElasticsearchSettings.xml.

sashanke commented 2 years ago

Hi,

now it keeps the connection, but forgets the authorization type and credentials after restart.

2022-04-22 09_19_05-Window

AntonShuvaev commented 2 years ago

Try to specify authorization options again, then close and open IDE.

sashanke commented 2 years ago

Done and now it's working, thank you!