Open OussamaHaff opened 1 year ago
Hi! Sorry for the delay, I was on vacation, could you please attach vmoptions.txt? It should contain paths to config and system directories for further investigation
Hi, i also see this issue, after calling:
ij-shared-indexes-tool-cli.bat boost --ij "C:\Users\nightlybuild\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\232.9559.62" --project "E:\w\19f8fce6a6742369" --data-directory "E:\IntelliJ\temp"
13:21:15 Exception in thread "main" java.lang.IllegalStateException: Can not find indexing-diagnostic directory in E:\IntelliJ\temp\temp\ij-tmp-1693394278413\log
13:21:15 at com.intellij.indexing.shared.builder.ShortcutsKt.findIndexingDiagnostic(Shortcuts.kt:294)
13:21:15 at com.intellij.indexing.shared.builder.ShortcutsKt.findReportHtmlDir(Shortcuts.kt:261)
13:21:15 at com.intellij.indexing.shared.builder.ShortcutsKt.warmupRun(Shortcuts.kt:257)
13:21:15 at com.intellij.indexing.shared.builder.ShortcutsKt.measureSharedIndexesBoost(Shortcuts.kt:169)
13:21:15 at com.intellij.indexing.shared.builder.ShortcutsKt.measureSharedIndexesBoost(Shortcuts.kt:130)
13:21:15 at com.intellij.indexing.shared.builder.ShortcutsKt.measureSharedIndexesBoost$default(Shortcuts.kt:119)
13:21:15 at com.intellij.indexing.shared.builder.MainKt.main(Main.kt:53)
13:21:15 Process exited with code 1
Issue happend after second call of ij-shared-indexes-tool-cli.bat boost
(first run failed because intellij.yaml was readonly in --project) and now continously occur. Deleting the --data-directory or the whole --project directory could not fix the problem.
Additional stuff: data_directory_content.zip
Hi. I'm having the same issue. ij-tmp-1725935129945.zip
2024-09-10 11:25:39.982 [exec-OutputReader] INFO c.i.extras.common.process.ExecUtil - [IJ-Output]: IDE Warm-up finished.
2024-09-10 11:25:39.982 [exec-OutputReader] INFO c.i.extras.common.process.ExecUtil - [IJ-Output]: - Elapsed time: 9 s 581 ms
2024-09-10 11:25:39.982 [exec-OutputReader] INFO c.i.extras.common.process.ExecUtil - [IJ-Output]: - Number of indexed files: 0.
2024-09-10 11:25:39.982 [exec-OutputReader] INFO c.i.extras.common.process.ExecUtil - [IJ-Output]: Exiting the application...
2024-09-10 11:25:40.537 [main] INFO c.i.extras.common.process.ExecUtil - ... successfully finished external process for IJ with exit code 0
2024-09-10 11:25:40.538 [main] INFO c.i.extras.runner.IntelliJRunner - WS-241.18034.50 completed with code: 0
2024-09-10 11:25:40.539 [main] INFO c.i.indexing.shared.builder.IntelliJ - Deleting /Users/####/$$$$$/^^^^^/intellij.yaml
Exception in thread "main" java.lang.IllegalStateException: Can not find indexing-diagnostic directory in /Users/####/$$$$/ij-shared-indexes-tool-cli-0.9.9/ij-shared-indexes-tool-data/temp/ij-tmp-1725935129945/log
at com.intellij.indexing.shared.builder.ShortcutsKt.findIndexingDiagnostic(Shortcuts.kt:267)
at com.intellij.indexing.shared.builder.ShortcutsKt.findReportHtmlDir(Shortcuts.kt:234)
at com.intellij.indexing.shared.builder.ShortcutsKt.warmupRun(Shortcuts.kt:230)
at com.intellij.indexing.shared.builder.ShortcutsKt.measureSharedIndexesBoost(Shortcuts.kt:142)
at com.intellij.indexing.shared.builder.ShortcutsKt.measureSharedIndexesBoost(Shortcuts.kt:103)
at com.intellij.indexing.shared.builder.ShortcutsKt.measureSharedIndexesBoost$default(Shortcuts.kt:92)
at com.intellij.indexing.shared.builder.MainKt.main(Main.kt:48)
Context
I'm trying to evaluate indexing time with shared indexes in a large Android project as described in the official doc: https://www.jetbrains.com/help/idea/shared-indexes.html#evaluate_saved_time_boost
Expectation
Script should print a summary comparing IDE perfomance with and without shared indexing.
Observation
Can not find indexing-diagnostic directory
indexing-diagnostic
directory.Attempts to resolve
sudo
❌ Got the same error.Used command
./bin/ij-shared-indexes-tool-cli boost --ij "/Users/UUUUUU/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.8660.185/IntelliJ IDEA.app" --project "/Users/UUUUUU/Projects/PPPPP"
UUUUUU
the local user who has full admin rightsPPPPP
the large Android projectEnvironment
ij-shared-indexes-tool-cli-0.9.8
(check also the result of running./bin/ij-shared-indexes-tool-cli version --ij "/Users/UUUUUU/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/232.8660.185/IntelliJ IDEA.app"
here: shared-indexes-version-summary.txtAppendix
Last logs before error with error: