Log Analyzer closes itself

Issue #2029 resolved
Karel Michek created an issue

WebStorm 2021.3.1, Illuminated Cloud 2.2.0.0, Mac OS Monterey

After opening a few logs or after clicking the Refresh icon the Log Analyzer (opened in its own window) closes itself, usually after 3 - 5 logs opened.

Comments (8)

  1. Scott Wells repo owner

    Hi. Thanks for providing the log. Unfortunately I'm not seeing anything unexpected in it. Just so I understand properly, this only happens if you have Log Analyzer detached from the main IDE window in its own window, and after some set of operations, the Log Analyzer window closes, correct? Is it then restored as a tool window (i.e., docked tab) in the main IDE window, or is it just lost until you close and reopen the project or restart the IDE process?

  2. Scott Wells repo owner

    Just as a quick update, I tried what I described above. I opened Log Analyzer in its own window, ran full unit tests for a project to create a large number of logs in the org, and then opened each log in turn (up to a point...perhaps 15-20). I also did other operations such as refreshing the view, changing the log levels, etc. The window never closed for me. Is there some specific set of steps you're using that results in this? It's also worth pointing out that I did all of this on Windows, so perhaps I'll try it on Mac if that set of steps reproduces the issue reliably for you but not for me.

  3. Karel Michek reporter

    Hi. After reopening the window the previously selected line is still selected. After docking the window the problem is more frequent ie Refresh button or opening a Log line closes the window. Docked window after self-closing goes back to the line selected before. Interestingly it happens in one workspace but not in another 🙂 so at the moment I work in one and check the logs in the other, thus it seems to me the it is workspace project related. Maybe I can just rebuild my workspace somehow? Maybe one of the workspaces remembers some old settings? I can also try to completely reinstall my WebStorm and Illuminated Cloud, just would have to be sure the licenses don’t get lost 🙂 Maybe that would be the fastest solution to my problem.

  4. Scott Wells repo owner

    If this is happening in one project(/workspace) and not another, it may be worth trying to recreate that project before reinstalling any software. My guess is that if it happens with that one project and not others now, it will after a reinstall. If you don't mind, please try the following:

    1. With the problematic project closed, either delete or rename its .idea directory and .iml file (if not under the .idea directory), then open that project and IC2 will reinitialize it. If you renamed the original directory and file above and things work properly after doing this, you can actually compare before/after to see what might have been causing this issue. If the problem does still occur, though....
    2. Go ahead and uninstall/reinstall WebStorm. You won't lose your config or license registration as long as you don't check the option on uninstall to remove caches and config files. If it still happens after that, I think we'll need to try to figure out why this specific project has this behavior.

    Please let me know the results of those actions either way.

  5. Karel Michek reporter

    Great! Quitting WebStorm, deleting folder .idea and reopening the project solved the problem. I gave it a long test, it is stable now. Thank you very much for your help! I think we can close this ticket.

    I really appreciate your services and this great software.

  6. Scott Wells repo owner

    Okay, let's go ahead and resolve this. I never feel all that good about things that get resolved in such a manner. If you see the behavior return, please feel free to reopen with new details.

  7. Log in to comment