Intellij idea 2023.1 freezing on copy, pase and cut

Answered

Hey, i was working on some java code just now and intellij keeps freezing when i copy / paste / cut any code (allready 4 times now i have needed to force close it). I have seen some other occurances of this but they were all "fixed" in a new update (running the newest version btw to try to stop it from happening but it doesn't). Does someone maybe know if i am doing something wrong? because it's very had to code without coppying or pasting :P

2
21 comments
Hi, 

Could you please share the IDEA logs from main menu "Help | Collect Logs and Diagnostic Data" for investigating?
You could upload the log in https://uploads.jetbrains.com/ and share us the upload id. Thanks.
0

I uploaded my logs: Upload id: 2023_04_23_UqNDT89QBjx95erKEKvqUG (file: idea-logs-20230423-1355508211373159831945277.zip)

0
Hi,

The freeze is caused by https://youtrack.jetbrains.com/issue/IDEA-198397/Allow-decompilation-to-be-cancelled.
As a possible workaround, try disabling the bundled `Java Bytecode Decompiler` plugin in the `File | Settings | Plugins | Installed tab`, and restart the IDE.
1

I also get freezing UI when pasting relatively small code blocks, should I create a new issue? The CPU was at 402% the last time it froze

I am on Appple M2 Pro if this helps. Upload id: 2023_07_10_kQzKAvXFccUwrJKEWruFGy (file: webstorm-logs-20230710-19463011398563092049694401.zip)

0

Same problem here on Ubuntu 22.04 using Build #IU-241.14494.240, built on March 28, 2024

0

I had the same issue in 2024.1 and I have tried 2024.1.1 Release Candidate as well. Running on Windows 10.

1

@Klb Could you please share the IDEA logs from main menu "Help | Collect Logs and Diagnostic Data" for investigating?
You could upload the log in https://uploads.jetbrains.com/ and share us the upload id. Thanks.

0

Lejia Chen I disabled Java bytecode decompiler and it fixed the issue. Maybe that plugin have some problems.

0

I have the same issue. i dont have Java Bytecode Decompiler installed.
 

0

@Konstantin Krassmann Could you please share the IDEA logs from main menu "Help | Collect Logs and Diagnostic Data" for investigating? You could upload the log in https://uploads.jetbrains.com/ and share us the upload id. Thanks.

0

The log states: 

java.lang.Throwable: UI was frozen for 10031ms, details saved to C:\Users\Konstantin\AppData\Local\JetBrains\WebStorm2024.1\log\threadDumps-freeze-20240508-135032-WS-241.14494.235-Unsafe.park-10sec
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
    at com.intellij.diagnostic.PerformanceWatcherImplKt.postProcessReportFolder(PerformanceWatcherImpl.kt:450)
    at com.intellij.diagnostic.PerformanceWatcherImplKt.access$postProcessReportFolder(PerformanceWatcherImpl.kt:1)
    at com.intellij.diagnostic.PerformanceWatcherImpl$FreezeCheckerTask$stopFreezeReporting$1.invokeSuspend(PerformanceWatcherImpl.kt:375)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

 

 

Here is the releated dump: Upload id: 2024_05_08_Wt1YsqgifJSyXBoeJh84FC (file: threadDump-20240508-135032.txt)

0

Please update the WebStorm to 2024.1.2 and it should fix your issue. The related issue of your case is: https://youtrack.jetbrains.com/issue/WEB-65787/WebStorm-2024.1-UI-was-frozen-for-N-ms-after-copy-paste

0

I have this problem too, this is my log

2024-05-12 12:15:20,824 [8534411] SEVERE - #c.i.d.PerformanceWatcherImpl - UI was frozen for 10008ms, details saved to C:\Users\lilli\AppData\Local\JetBrains\WebStorm2024.1\log\threadDumps-freeze-20240512-121515-WS-241.14494.235-Unsafe.park-10sec
java.lang.Throwable: UI was frozen for 10008ms, details saved to C:\Users\lilli\AppData\Local\JetBrains\WebStorm2024.1\log\threadDumps-freeze-20240512-121515-WS-241.14494.235-Unsafe.park-10sec
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
    at com.intellij.diagnostic.PerformanceWatcherImplKt.postProcessReportFolder(PerformanceWatcherImpl.kt:450)
    at com.intellij.diagnostic.PerformanceWatcherImplKt.access$postProcessReportFolder(PerformanceWatcherImpl.kt:1)
    at com.intellij.diagnostic.PerformanceWatcherImpl$FreezeCheckerTask$stopFreezeReporting$1.invokeSuspend(PerformanceWatcherImpl.kt:375)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
 

0

Hi, I have the same problem of freeze

Upload id: 2024_08_06_4KqVz9LLDNC7VDeHqqmbUX (file: phpstorm-logs-20240806-1631325466548121308105482.zip)

0

Dominique Thomas in your case the issue seems to be caused by the Laravel Query (4.0.2) plug-in. Please disable it and see if it helps.

0

Hi

I have always some trouble. I desactived Laravel Query.

And now, when I click on “Collect data” I dont have any ZIP.

I retrieve this in finder.

Upload id: 2024_08_19_299TZKVp3HuomqoyjTT2aN (file: threadDumps-freeze-20240819-144146-PS-241.15989.102.zip)

0

I still see Larvel Query in the attached thread dump.

"JobScheduler FJ pool 9/19" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@981c749
	at java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method)
	at java.base@17.0.10/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
	at java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
	at java.base@17.0.10/java.util.concurrent.ForkJoinPool.compensatedBlock(ForkJoinPool.java:3451)
	at java.base@17.0.10/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3434)
	at java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
	at java.base@17.0.10/java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:420)
	at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:484)
	at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask$$Lambda$4402/0x0000000802062208.run(Unknown Source)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
	at com.intellij.openapi.progress.impl.CoreProgressManager$$Lambda$2116/0x000000080151e200.compute(Unknown Source)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:684)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
	at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:481)
	at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:469)
	at java.base@17.0.10/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
	at java.base@17.0.10/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base@17.0.10/java.util.concurrent.ForkJoinPool.helpJoin(ForkJoinPool.java:1883)
	at java.base@17.0.10/java.util.concurrent.ForkJoinTask.awaitDone(ForkJoinTask.java:440)
	at java.base@17.0.10/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:687)
	at java.base@17.0.10/java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)
	at java.base@17.0.10/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:173)
	at java.base@17.0.10/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
	at java.base@17.0.10/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at dev.ekvedaras.laravelquery.utils.ResolverForColumnMethods.withOnePart(DbReferenceResolver.kt:135)
	at dev.ekvedaras.laravelquery.utils.ResolverForColumnMethods.resolve(DbReferenceResolver.kt:122)
	at dev.ekvedaras.laravelquery.utils.DbReferenceResolver.resolve(DbReferenceResolver.kt:34)
	at dev.ekvedaras.laravelquery.models.DbReferenceExpression._init_$lambda$1(DbReferenceExpression.kt:76)
	at dev.ekvedaras.laravelquery.models.DbReferenceExpression$$Lambda$10183/0x000000080369c768.call(Unknown Source)
0

Yes it's true, Laravel Query was re-active. Sorry

0

Please sign in to leave a comment.