java.lang.RuntimeException: Cannot resolve /META-INF/PlatformExecutionActions.xml (dataLoader=product classpath)
after fixing this error: https://intellij-support.jetbrains.com/hc/en-us/community/posts/15331912075026-Kotlin-Supertypes-of-the-following-classes-cannot-be-resolved- I got a new one:
java.lang.RuntimeException: Cannot resolve /META-INF/PlatformExecutionActions.xml (dataLoader=product classpath)
(full stacktrace at the end)
I have done:
- check out the github repo intellij-community
- changed the runtime to jbrsdk-17
- started the current IDE with changes in Edit Custom Properties
for the internal option idea.is.internal=true
Workaround:
- I removed in PlatformActions.xml
this line:
<xi:include href="/META-INF/PlatformExecutionActions.xml"/>
and for this error:
Caused by: java.lang.RuntimeException: Cannot resolve intellij.platform.feedback.xml (dataLoader=product classpath)
I removed in PlatformLangPlugin.xml
this line:
<xi:include href="intellij.platform.feedback.xml"/>
I know that is not the right solution, but at least with this removals it barely starts IDEA - and I was able to get with debug to the code place I was interested in.
but with new errors resulting from the comments in the xml:
2023-12-04 02:52:26,918 [ 2397] SEVERE - #c.i.o.a.i.ActionManagerImpl - com.intellij.execution.runners.FakeRerunAction (Rerun): group with id "RunTab.TopToolbar" isn't registered so the action won't be added to it; the action can be invoked via "Find Action" (module=PluginDescriptor(name=IDEA CORE, id=com.intellij, descriptorPath=plugin.xml, path=~/Work/github.com/muescha/intellij-community/lib, version=241.SNAPSHOT, package=com.intellij.structuralsearch, isBundled=true))
...
Full stacktrace of the first error:
"/Users/muescha/Applications/IntelliJ IDEA Ultimate 2023.3 Release Candidate.app/Contents/jbr/Contents/Home/bin/java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:53677,suspend=y,server=n -Xmx2g -XX:ReservedCodeCacheSize=240m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:MaxJavaStackTraceDepth=10000 -XX:CICompilerCount=2 -ea -Dsun.io.useCanonCaches=false -Dapple.laf.useScreenMenuBar=true -Dsun.awt.disablegrab=true -Didea.jre.check=true -Didea.is.internal=true -Didea.debug.mode=true -Djdk.attach.allowAttachSelf -Dfus.internal.test.mode=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Didea.config.path=../config/idea -Didea.system.path=../system/idea -Didea.initially.ask.config=true --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED --add-opens=java.desktop/com.apple.laf=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED --add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.desktop/sun.awt.windows=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -Didea.platform.prefix=Idea -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/sun.net.dns=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED --add-opens=java.desktop/com.apple.laf=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing=ALL-UNNAMED --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED -javaagent:/Users/muescha/Library/Caches/JetBrains/IntelliJIdea2023.3/groovyHotSwap/gragent.jar -javaagent:/Users/muescha/Library/Caches/JetBrains/IntelliJIdea2023.3/captureAgent/debugger-agent.jar=file:/private/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/capture.props -Dfile.encoding=UTF-8 @/private/var/folders/r2/156gqyhn1cbclcxm8cf5bbsw0000gn/T/idea_arg_file296507452 com.intellij.idea.Main
WARNING: package sun.awt.windows not in java.desktop
WARNING: package sun.awt.X11 not in java.desktop
WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop
Connected to the target VM, address: '127.0.0.1:53677', transport: 'socket'
Start Failed
Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
java.lang.RuntimeException: Cannot resolve /META-INF/PlatformExecutionActions.xml (dataLoader=product classpath)
at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:881)
at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:273)
at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:101)
at com.intellij.ide.plugins.ClassPathXmlPathResolver.loadXIncludeReference(ClassPathXmlPathResolver.kt:26)
at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:858)
at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:273)
at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:101)
at com.intellij.ide.plugins.ClassPathXmlPathResolver.loadXIncludeReference(ClassPathXmlPathResolver.kt:26)
at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:858)
at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:273)
at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:101)
at com.intellij.ide.plugins.ClassPathXmlPathResolver.loadXIncludeReference(ClassPathXmlPathResolver.kt:26)
at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:858)
at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:273)
at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:101)
at com.intellij.ide.plugins.ClassPathXmlPathResolver.loadXIncludeReference(ClassPathXmlPathResolver.kt:26)
at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:858)
at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:273)
at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:101)
at com.intellij.ide.plugins.PluginDescriptorLoader.loadCoreProductPlugin(PluginDescriptorLoader.kt:682)
at com.intellij.ide.plugins.PluginDescriptorLoader.access$loadCoreProductPlugin(PluginDescriptorLoader.kt:1)
at com.intellij.ide.plugins.PluginDescriptorLoader$loadCoreModules$rootModuleDescriptors$result$1.invokeSuspend(PluginDescriptorLoader.kt:635)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
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)
-----
Your JRE: 17.0.9+7-b1087.7 aarch64 (JetBrains s.r.o.)
/Users/muescha/Applications/IntelliJ IDEA Ultimate 2023.3 Release Candidate.app/Contents/jbr/Contents/Home
Disconnected from the target VM, address: '127.0.0.1:53677', transport: 'socket'
Process finished with exit code 3
Please sign in to leave a comment.
Any idea why the startup fails?
Is there any more frequent visited place where I can ask this question to get some hints?
I haven't found a solution to resolve this error by adjusting the project settings.
However, I've deleted all local sources and performed a fresh checkout from the GitHub repository. I meticulously followed the setup instructions outlined in the readme, ensuring that I configured the correct JetBrains runtime (excluding JCEF).
And now I can start the IDE without errors.