"Analyzing" never finishes

已回答

Hi all!

I'm trying out this software in an attempt to find a new IDE which I can use to increase my productivity, and I've run in to a problem with the code analysis which I'm looking for some help with. I'm currently using:

IntelliJ IDEA 2021.3.1 (Community Edition)
Build #IC-213.6461.79, built on December 28, 2021
Runtime version: 11.0.13+7-b1751.21 amd64

It's a fairly simple setup for now. I just went with all the defaults, installed the EmmyLua plugin (bundled 1.3.6.222-IDEA213), then went to work on some LUA files.

Every time I launch the IDE, I get the following Fatal Error:
`update failed for ActionGroup(com.intellij.execution.actions.RunContextAction, id=RunClass) with text=Run context configuration`

The error states that the exception is in the Android plugin, so I disable that, then the Fatal Error no longer appears, but the editor remains stuck "Analyzing...", and the "Problems" tab doesn't update.

I tried disabling the EmmyLua plugin as well, but the error still occurs. 

Manually running "inspect code" finishes stating there was nothing found to report, even when there is. 

 

Any ideas how to get the real-time code analysis working properly?

TIA :)

2

Please reproduce the problem with Android plugin disabled (and IDE restart) and share the logs folder compressed. You can use https://uploads.jetbrains.com/ for sharing. 

1

Thanks for your reply Konstantin!

I completely re-installed the IDE, and this time I installed the plugin through the IDE instead of manually.

Since re-installing, there are occasional plugin errors, but not to the point to "break" the real time analysis.

0

Code analysis does not work in PhpStorm. The phrase "Analyzing" always appears in the upper right corner.
- I tried the Repair IDE and Invalidate Caches options, but they didn't work.
- I deactivated all plugins but it was not resolved.
- I deleted PhpStorm, completely deleted it.
~/Library/Application Support/JetBrains/PhpStorm2024.1
~/Library/Caches/JetBrains/PhpStorm2024.1
I deleted the files.
I installed from scratch but it didn't work.

I had no problems using the 2023 version before. But now I'm having a hard time tracking my errors in php. It doesn't even warn me about undefined variables within the same function. This makes my job quite difficult.

I uploaded Collect Logs and Diagnogstig Data to your server

Upload id: 2024_06_08_Fva9TWZneMnH91eJzcpvM6 (file: phpstorm-logs-20240608-1141537820228295581823169.zip)

How can I solve this problem?

About PhpStorm;

PhpStorm 2024.1.2
Build #PS-241.17011.119, built on May 28, 2024
Licensed to Bilal YILMAZ
Subscription is active until July 15, 2024.
Runtime version: 17.0.11+1-b1207.24 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.5
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
 debugger.new.tool.window.layout=true
 run.processes.with.pty=TRUE
 ide.experimental.ui=true
Non-Bundled Plugins:
 com.intellij.ideolog (222.3.2.0)
 com.markskelton.one-dark-theme (5.11.0)
 String Manipulation (9.14.1)
 com.intellij.ml.llm (241.17011.2)
 ru.adelf.idea.dotenv (2024.1)
 de.espend.idea.php.annotation (10.0.0)
 izhangzhihao.rainbow.brackets (2024.2.4-241)
 fr.adrienbrault.idea.symfony2plugin (2024.1.274)
 zielu.gittoolbox (500.2.9+233)
 mobi.hsz.idea.gitignore (4.5.3)
 

0

Please attach logs after reproducing the issue with all custom plugins disabled. Also please disable “Grazie” plugin.

0

It was fixed when I removed the Proofreading setting from the configure inspections window. I tried one by one to find this solution, it worked when I removed proofreading.

Thank you for your attention Yaroslav

3

Hi Yaroslav Bedrov… 

I'm using `pycharm 2024.1.4` .

The "Grazie" plugin + Proofreading are all disables.

 

when I open a new file, pycharm keeps analyzing (no matter how big is this file) and never ends.

 

 

Here is analyzer status:

 

Here are the most recent logs:

0

Hi zamoosh,

See if it helps to re-generate project configuration settings:

  1. Close the IDE, go to the project directory, backup and delete the entire .idea folder and any .iml files from its root
  2. In the IDE, go to File | New | Project from existing sources, select the project's source (root directory or main build file)
  3. Wait for indexing to finish

If the problem remains:

  1. Disable ALL non-bundled plugins: File | Settings | Plugins | ⚙ | Disable all downloaded plugins
  2. Initiate index rebuild manually via File | Invalidate Caches & Restart

If it doesn't help, please provide IDE logs for analysis (entire archive): Help | Collect Logs and Diagnostic Data. I will search for exceptions and check your system environment settings. File can be uploaded privately to our server at https://uploads.jetbrains.com.

2

Hi, Arina Efremova )

I have the same problem.

I tried to reindex a new project from existing sources. It didn't fix the problem. After that I tried to invalidate cashes. It also didn't help. As it's written above I also tried to uncheck Proofreading Inspection - without result.

So may I join to conversation and send you my IDE logs?

0

Hi Zoodov - of course, feel free to upload them to https://uploads.jetbrains.com and provide the id of the upload here.

0

Arina Efremova, thank you)

Upload id: 2024_07_15_7UuVznQpchQoHGCxWnciqs

0

Thanks Zoodov

I found the relevant exception and reported the issue to YouTrack so that our PHP developers can take a look: https://youtrack.jetbrains.com/issue/WI-78268

You can follow the progress and leave additional comments there. 

As a workaround in the meantime, you can try version 2024.2: https://www.jetbrains.com/phpstorm/nextversion

0

Hello again Arina Efremova.

I really apologize for my late answer, BTW, here is the upload_id: 
Upload id: 2024_08_05_G6oJswemcS3yaTyK7qScUe (file: pycharm-2024.1.4.tar.gz)
 

I re-produced the issued in my pycharm 2024.1.4 and collect the logs…🙏

0
Does it improve for a while after invalidating the cache?
0

Yees it does, but after clearing cache, when I want to open second or third file (no matter what extensions it has or how many lines has), it would broke again.

0
According to the log, it is similar to https://youtrack.jetbrains.com/issue/IJPL-158337, could you please update the IDE to 2024.2.01 and see how it goes?
0

Using 2024.2 just fixed my problems. Thanks a lot (Bond Han)!🙏

0

‘Grazie’ plugin rendered my IDE useless as well. Disabling fixed the problem, but this is a pretty severe issue and not so easy to diagnose. Pending a reliable fix, I'd propose that JetBrains disable by default.

--

IntelliJ IDEA 2024.3 (Ultimate Edition)
Build #IU-243.21565.193, built on November 12, 2024
Licensed to Hollis Waite
Subscription is active until August 6, 2025.
For educational use only.
Runtime version: 21.0.5+8-b631.16 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 20
Registry:
 ide.experimental.ui=true
 i18n.locale=
Non-Bundled Plugins:
 com.jetbrains.space (243.21565.122)
 PythonCore (243.21565.211)
 Pythonid (243.21565.211)
 com.intellij.ml.llm (243.21565.247)
 org.jetbrains.plugins.gitlab (243.21565.204)
 org.jetbrains.plugins.github (243.21565.204-ultimate)
Kotlin: 243.21565.193-IJ

0

Hello Hollis,

Am I got you right that with “Grazie” plugin enabled you see permanent “Analyzing” state in editor? Unfortunately, I couldn't reproduce the issue on my side. Is it reproducible with any project? Is it possible to share idea.log ("Help | Show Log in…") after facing the issue to check recorded events? You may share files via https://uploads.jetbrains.com/ form.  Please provide uploadID afterwards.

 

0

Upload id: 2024_11_29_fJVAhhcZh4dTFZ8ttkVZTk (file: grazie.txt). I haven't tried to reproduce the problem. In fact, my IDE is currently useless because of a separate issue ('Changes' panel never stops “updating…”).

0

Hollis,

Thanks for the log.

I see warnings like:

2024-11-29 07:45:57,333 [181077005]   WARN - #c.i.p.d.t.e.m.TelemetryMeterJsonExporter - Can't write metrics into C:\Users\hwaite\AppData\Local\JetBrains\IntelliJIdea2024.3\log\open-telemetry-meters.2024-11-29-07-45-57.json.9
java.nio.file.AccessDeniedException: C:\Users\hwaite\AppData\Local\JetBrains\IntelliJIdea2024.3\log\open-telemetry-meters.2024-11-29-07-45-57.json.9

Do you use any antivirus software or data protection tool? Please try to run IDE “as administrator”. Will it help?

0

Hello! I've been experiencing the same issue for some time now… The “Analyzing…” never finishes right now. It was very, very slow for a longer period of time (several months), but now it just never finishes on some files.
I did all the steps from @Arina Efremova ‘s comment, but it didn’t fix the issue. Could somebody please help me?  

0

Hello Alan,

Logs are needed to investigate the issue. Please provide full logs folder zipped (Help | Show Log in…) after restarting IDE and reproducing the issue. You may share files via https://uploads.jetbrains.com/ form. Please provide UploadID afterwards.

0

Hello Yaroslav Bedrov, fortunately the issue has been solved. I have created a separate issue here and also on YouTrack which have both been solved for now. Thanks! :)

0

请先登录再写评论。