kolchinmax
(Maksim Kolchin)
October 20, 2025, 7:01pm
1
Hi there,
Any one else cannot build a plugin with the IDEA 253.x due to the below error?
Caused by: java.lang.ClassNotFoundException: it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap
See 2025.3 EAP doesn't provide `it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap` · Issue #220 · JetBrains/gradle-grammar-kit-plugin · GitHub for more details.
Regards,
Maksim
Hi,
I cannot reproduce the problem in 253-EAP-SNAPSHOT. How your plugin.xml dependencies look like?
Also, I see this is not runtime problem but in Gradle tools, right ? It is probably due to the fact that we moved libraries from Core subsystem to dedicated modules
opened 06:07PM - 08 Oct 25 UTC
bug
**Describe the bug**
```
Execution failed for task ':frontend:file:generatePars… er'.
> Exception in thread "main" java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/objects/Reference2ObjectOpenHashMap
at com.intellij.openapi.util.ObjectTree.<init>(ObjectTree.java:28)
at com.intellij.openapi.util.Disposer.<clinit>(Disposer.java:21)
at com.intellij.core.CoreApplicationEnvironment.<init>(CoreApplicationEnvironment.java:84)
at com.intellij.core.CoreApplicationEnvironment.<init>(CoreApplicationEnvironment.java:76)
at org.intellij.grammar.LightPsi$MyParsing.<init>(LightPsi.java:152)
at org.intellij.grammar.LightPsi.<clinit>(LightPsi.java:55)
at org.intellij.grammar.Main.main(Main.java:38)
Caused by: java.lang.ClassNotFoundException: it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 7 more
```
**To Reproduce**
Compile a Gradle subproject under IntelliJ `253.25908.13-EAP-SNAPSHOT`.
Sample project to repro:
* check out https://github.com/VirtusLab/git-machete-intellij-plugin/pull/2142
* switch to JDK 21+
* `./gradlew :frontend:file:generateParser`
**Expected behavior**
Compilation passes.
**Environment:**
- OS: macOS
- Gradle Grammar-Kit Plugin Version: latest (2022.3.2.2)
- Gradle Version: 9.0.0
**Additional context**
Nothing in particular.
kolchinmax
(Maksim Kolchin)
October 25, 2025, 9:10am
5
@yuriy.artamonov No, the same issue with the latest snapshot version, below is my configuration:
intellijIdea("253.27864-EAP-CANDIDATE-SNAPSHOT") { this.useInstaller = false }
It is probably due to the fact that we moved libraries from Core subsystem to dedicated modules
Okay, what need to be adapted in the plugin to align with the change? I don’t see any relevant at Incompatible Changes in IntelliJ Platform and Plugins API | IntelliJ Platform Plugin SDK .
Thanks!
kolchinmax
(Maksim Kolchin)
October 28, 2025, 8:24pm
6
@yuriy.artamonov Sorry, I’ve missed your question, see the answer below.
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
Thank you in advance!
kolchinmax
(Maksim Kolchin)
November 8, 2025, 6:29pm
7
I opened a bug at YouTracker (https://youtrack.jetbrains.com/issue/IJPL-217565/it.unimi.dsi.fastutil.objects.Reference2ObjectOpenHashMap-in-253.x ), because I’m blocked now and not able to continue the development. The IDEA version which worked before is not available anymore.