IntelliJ editor freezes after new file

Answered

After I create a new file in a project via IntelliJ, lets say a Java class, the editor on the current (new) file and every other file somehow freezes. I can still open new editor-tabs and switch between them, but the cursor isn't there and doesn't show up when I click somewhere in the file.

After about 10 seconds this write-lock dissolves. I'm having this issue for three weeks now and at this point it's really frustrating. Is there any setting I have falsely set or is this a (known) IntellijJ/Jetbrains bug?

I'm using Intellij IDEA ultimate 2018.1 on an mid 2012 macbook air running macOS High Sierra 10.13.5

3
19 comments

>After about 10 seconds this write-lock dissolves.

Do you mean the cursor returns and you are able to use IDE normally?

Please make sure to try with the latest version from https://www.jetbrains.com/idea/download.

If issue remains, provide completely zipped IDE log folder after reproducing the issue.

0

I am having the same problem on Ubuntu linux, 16.04 with 2018.1.5.  I usually have to restart to resolve.

 

How can I submit log file?

0

You can use our upload server or any other file sharing service.

0

files are idea_jul05.zip and idea.zip, from today and jul 3 respectively.

It looked like a Build would restore the cursor, But any changes were not auto-saved.

0

This has helped somewhat, but not eliminated the problem.

It seems to occur most frequently when I have more than one project open in separate windows.

0
Avatar
Permanently deleted user

Switching the boot JDK didn't help me at all, instead it actually slowed down the whole IDE by a lot. Is there a better fix or workaround for this issue?

 

PS: I'm only working on one project at a time.

0

@Jagmit please provide all logs zipped (better right after issue occurs).

0

Really bad this afternoon for some reason.

It seems connected to running JBoss while debugging.  Once I start the app server, I loose keyboard functionality.  Most but not all mouse functions remain OK. Stopping the app server does not remediate.

Behaves differently with different projects, but on a random basis.

0

I believe I have isolated the issue to when I am running JBoss using JRebel debug mode, and the debug window is open in Floating mode, parked on a different monitor than the IDE in a 2-monitor set up.  Just changing the debug window to Window mode seems to resolve the issue.

0

Thanks for update. Please post your findings and track this issue at https://youtrack.jetbrains.com/issue/IDEA-189449.

0
Avatar
Permanently deleted user

Okay, uploaded my log file 'logs-20180716-123351.zip' from right after a freeze incident occurred.

0

@Jagmit Thank you. Your issue seems the same as https://youtrack.jetbrains.com/issue/IDEA-189449. Please follow it for updates.

Try also if disabling Save Actions plugin helps.

0
Avatar
Permanently deleted user

I have the same problem and it annoys me a lot.

Every time I create new class/trait/object/regular file in my Scala projects IDEA just hangs and stops interacting with a keyboard.

As a workaround - as soon as I hit a key in any other window (say iTerm or Chrome) it unfreezes. Ready to record a video and provide logs. 

IntelliJ IDEA 2018.2.6 (Ultimate Edition)
Build #IU-182.5107.16, built on November 6, 2018
Licensed to Zeptolab / Eugene Zhulkov
Subscription is active until May 10, 2019
JRE: 1.8.0_152-release-1248-b22 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.1

0
Avatar
Permanently deleted user

Yep, it looks like that issue.

Moreover, during this freeze period context and main menu are disabled (grey items). It looks like some invisible modal window appear and after some period of time disappear. 

0

Could you please attach the logs to the ticket linked above? See https://intellij-support.jetbrains.com/hc/articles/207241085.

Do you have the exact steps to reproduce it? Does it happen only with Scala files?

0
Avatar
Permanently deleted user

Please, check the issue, I've sent you the file

0
Avatar
Permanently deleted user

I also get this, have done for years (from 2017 version, 2018 and still now on 2019 version).

You know it happens when you can't edit the file as you also can't click into any of the menus, all menus become disabled..

It's quite annoying.

0

Please sign in to leave a comment.