intellij-platform-gradle-plugin
intellij-platform-gradle-plugin copied to clipboard
How to troubleshoot PluginClassLoader issues?
What happened?
What is the best course of action to troubleshoot issues such as the following?
I tested "instrumented-flutter-idea-SNAPSHOT.jar" on Iguana. This crash occurs immediately after opening Android Studio. Didn't open my project yet.
com.intellij.diagnostic.PluginException: io.flutter.actions.FlutterNewProjectAction PluginClassLoader(plugin=PluginDescriptor(name=Flutter, id=io.flutter, descriptorPath=plugin.xml, path=~/Library/Application Support/Google/AndroidStudio2023.2/plugins/instrumented-flutter-idea-SNAPSHOT.jar, version=SNAPSHOT, package=null, isBundled=false), packagePrefix=null, state=active) at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:1030) at
...
From here: https://github.com/flutter/flutter-intellij/issues/7103#issuecomment-2021553876
Are these issues stemming from incorrect from/to versions of dependencies? Something else? What is the best practice to test against creating rolls where users will encounter these issues?
The problem here is that I can successfully build with Gradle, but the dependencies are not resolved for all users, just a subset.
Relevant log output or stack trace
No response
Steps to reproduce
See issues from users, included above
Gradle IntelliJ Plugin version
233.13135.103
Gradle version
8.2.1
Operating System
None
Link to build, i.e. failing GitHub Action job
No response