This run configuration freezes intellij itself

已回答

Hi!

Myproject has multiple run configurations. All of them work fine except one. Here is this run configuration:

    <configuration name="Local Oracle DDL-auto" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
      <option name="ACTIVE_PROFILES" />
      <log_file alias="logs" path="$PROJECT_DIR$/log/*" show_all="true" />
    <module name="ModuleName" />
      <option name="PROGRAM_PARAMETERS" value="--spring.config.name=application,ddl-auto" />
      <option name="SHORTEN_COMMAND_LINE" value="CLASSPATH_FILE" />
    <option name="SPRING_BOOT_MAIN_CLASS" value="com.myapp.Application" />
      <extension name="coverage" runner="jacoco" />
      <method v="2" />
    </configuration>

When ever I run this specific configuration intellij itself freezes. And then I move Intellij out of monitor and then back then this area of window will not even be rendered anymore like can be seen from picture below. The right and bottom side ow window are blank.

And if I resize the window as small as it goes and then back again it ends up looking like that:

So at the end I just have to kill it from task manager because it does not react to close button.

 

Any ideas what might cause this or how to debug this? It happens when I press this green arrow button next to build configuration. The last moment when my Intellij window is responsive is when this blue text gets printed in terminal window. I tried to remove <extension name="coverage" runner="jacoco" /> but it didn't seem to work either. Now I am out of idea what to try.

评论操作 固定链接

Please provide the logs and the thread dumps, see https://intellij-support.jetbrains.com/hc/en-us/articles/207241085 and https://intellij-support.jetbrains.com/hc/en-us/articles/206544899.

Make sure you have the current IntelliJ IDEA release version.

Files can be shared via https://uploads.jetbrains.com or by submitting a ticket at https://intellij-support.jetbrains.com/hc/requests/new.

0
评论操作 固定链接

Hi!

Upload id: 2022_11_15_wLhwrH3aaYbvEEQp1FVNHM (file: threadDumps-freeze-20221115-095503-IU-221.6008.13.zip)

 

 

 

0
评论操作 固定链接

It looks like you are running an old IntelliJ IDEA version. Please update: https://www.jetbrains.com/idea/download/index.html.

If the issue persists, please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the complete logs attached and a sample project to reproduce this issue.

0
评论操作 固定链接

The issue has already persisted 2 Intellij updates. I can't reproduce it with sample projects. Wasn't there anything useful in existing logs?

0
评论操作 固定链接

Does it help if you remove "<log_file alias="logs" path="$PROJECT_DIR$/log/*" show_all="true" />" from this configuration? How many log files are there in this directory?

0
评论操作 固定链接

Hi!

I updated intellij to latest version. Cleared $PROJECT_DIR$/log directory. Still Intellij freeze.

Then I tried to remove and removed <log_file alias="logs" path="$PROJECT_DIR$/log/* as you suggested. and it worked. I added it back and it still worked.

How many log files are there in this directory? 2 logs with .log extension about 60 mb each.  rest of them were 2430 logs that were zipped. It's a spring boot app that archives old logs upon startup. Cant really tell anymore what caused the issue.

I have also logs from the crash with latest version of Intellij but since  this issue is fixed, you are probably not interested in them anymore. Specially without clear way to reproduce it.

0
评论操作 固定链接

Unfortunately, it would be hard to fix it without being able to reproduce. If you'll find a way, please report at https://youtrack.jetbrains.com/newIssue?project=IDEA.

0

请先登录再写评论。