Bug 283208 - devel/jetbrains-clion: Update to 2024.3.5
Summary: devel/jetbrains-clion: Update to 2024.3.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL: https://youtrack.jetbrains.com/articl...
Keywords:
Depends on:
Blocks: 284935
  Show dependency treegraph
 
Reported: 2024-12-08 22:30 UTC by Dmitry Wagin
Modified: 2025-04-04 18:18 UTC (History)
8 users (show)

See Also:


Attachments
jetbrains-clion.diff (73.29 KB, patch)
2024-12-08 22:30 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
jetbrains-clion.diff (74.46 KB, patch)
2024-12-21 20:10 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
jetbrains-clion.diff (75.27 KB, patch)
2024-12-29 23:49 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
jetbrains-clion.diff (76.34 KB, patch)
2025-01-08 15:17 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
jetbrains-clion.diff (89.56 KB, patch)
2025-01-20 22:16 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
jetbrains-clion.diff (90.26 KB, patch)
2025-02-13 21:16 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
jetbrains-clion.diff (87.23 KB, patch)
2025-03-23 20:05 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff
Patch with fix attempt (87.73 KB, patch)
2025-03-31 20:57 UTC, Fernando Apesteguía
no flags Details | Diff
jetbrains-clion.diff (90.26 KB, patch)
2025-04-01 21:02 UTC, Dmitry Wagin
dmitry.wagin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Wagin 2024-12-08 22:30:37 UTC
Created attachment 255724 [details]
jetbrains-clion.diff

Update to 2024.3

Changelog: https://youtrack.jetbrains.com/articles/CPP-A-230654366

What's New in CLion: https://www.jetbrains.com/clion/whatsnew/2024-3/
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2024-12-12 18:26:15 UTC
Hi Dmitry,

When trying to run clion, I get a window with the following message:

"Imported settings contain custom VM options. Please restart the IDE to apply these options." When clicking on restart, this error occurs:

com.intellij.diagnostic.PluginException: com.jetbrains.rider.protocol.ProtocolManagerInitializer PluginClassLoader(plugin=PluginDescriptor(name=C++ Language Support via ReSharper, id=org.jetbrains.plugins.clion.radler, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-radler, version=243.21565.238, package=com.jetbrains.cidr.radler, isBundled=true), packagePrefix=com.jetbrains.cidr.radler., state=active, parents=PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.remoteDriver, descriptorPath=intellij.performanceTesting.remoteDriver.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.21565.238, package=com.jetbrains.performancePlugin.remotedriver, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.vcs, descriptorPath=intellij.performanceTesting.vcs.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.21565.238, package=com.intellij.performanceTesting.vcs, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.yaml, descriptorPath=intellij.grazie.yaml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.yaml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.xml, descriptorPath=intellij.grazie.xml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.xml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.properties, descriptorPath=intellij.grazie.properties.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.properties, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.markdown, descriptorPath=intellij.grazie.markdown.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.markdown, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.json, descriptorPath=intellij.grazie.json.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.json, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.java, descriptorPath=intellij.grazie.java.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.java, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.21565.238, package=com.jetbrains.performancePlugin, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie, isBundled=true), PluginDescriptor(name=IntelliLang, id=org.intellij.intelliLang, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/platform-langInjection, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion IDE, id=com.intellij.clion, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-ide, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Google Testing and Mocking Framework, id=org.jetbrains.plugins.clion.test.google, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-google-plugin, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Catch, id=org.jetbrains.plugins.clion.test.catch, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-catch-plugin, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Boost.Test, id=org.jetbrains.plugins.clion.test.boost, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-boost-plugin, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=com.intellij.clion.rd.components, id=com.intellij.clion.rd.components, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-rd-components, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Doctest, id=org.jetbrains.plugins.clion.test.doctest, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-doctest-plugin, version=243.21565.238, package=null, isBundled=true), )
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:430)
    at com.intellij.serviceContainer.ComponentManagerImpl.access$registerComponents(ComponentManagerImpl.kt:94)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:332)
    at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:65)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents$default(ComponentManagerImpl.kt:313)
    at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invokeSuspend(ApplicationLoader.kt:103)
    at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt)
    at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56)
    at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:48)
    at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1.invokeSuspend(ApplicationLoader.kt:102)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:277)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.lang.ClassNotFoundException: com.jetbrains.rider.protocol.ProtocolManagerInitializer PluginClassLoader(plugin=PluginDescriptor(name=C++ Language Support via ReSharper, id=org.jetbrains.plugins.clion.radler, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-radler, version=243.21565.238, package=com.jetbrains.cidr.radler, isBundled=true), packagePrefix=com.jetbrains.cidr.radler., state=active, parents=PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.remoteDriver, descriptorPath=intellij.performanceTesting.remoteDriver.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.21565.238, package=com.jetbrains.performancePlugin.remotedriver, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.vcs, descriptorPath=intellij.performanceTesting.vcs.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.21565.238, package=com.intellij.performanceTesting.vcs, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.yaml, descriptorPath=intellij.grazie.yaml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.yaml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.xml, descriptorPath=intellij.grazie.xml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.xml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.properties, descriptorPath=intellij.grazie.properties.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.properties, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.markdown, descriptorPath=intellij.grazie.markdown.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.markdown, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.json, descriptorPath=intellij.grazie.json.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.json, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.java, descriptorPath=intellij.grazie.java.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie.ide.language.java, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.21565.238, package=com.jetbrains.performancePlugin, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.21565.238, package=com.intellij.grazie, isBundled=true), PluginDescriptor(name=IntelliLang, id=org.intellij.intelliLang, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/platform-langInjection, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion IDE, id=com.intellij.clion, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-ide, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Google Testing and Mocking Framework, id=org.jetbrains.plugins.clion.test.google, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-google-plugin, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Catch, id=org.jetbrains.plugins.clion.test.catch, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-catch-plugin, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Boost.Test, id=org.jetbrains.plugins.clion.test.boost, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-boost-plugin, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=com.intellij.clion.rd.components, id=com.intellij.clion.rd.components, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-rd-components, version=243.21565.238, package=null, isBundled=true), PluginDescriptor(name=CLion Doctest, id=org.jetbrains.plugins.clion.test.doctest, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-doctest-plugin, version=243.21565.238, package=null, isBundled=true), )
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents2Inner(ComponentManagerImpl.kt:463)
    at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:423)
    ... 22 more

-----
JRE: 17.0.13+11-1 amd64 (OpenJDK BSD Porting Team)
/usr/local/openjdk17

Any ideas? I haven't seen this error in the webstorm or goland ports that you updated (and which I'll commit soon).

Thanks.
Comment 2 Dmitry Wagin 2024-12-21 20:10:00 UTC
Created attachment 256019 [details]
jetbrains-clion.diff

Update to 2024.3.1.1

Changelog: https://youtrack.jetbrains.com/articles/CPP-A-230654377
Comment 3 Dmitry Wagin 2024-12-21 20:15:58 UTC
(In reply to Dmitry Wagin from comment #0)

Hi, Fernando!

Please test latest version.

Also, I've had a situation before where everything was fine on a restart.
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2024-12-24 11:07:58 UTC
(In reply to Dmitry Wagin from comment #3)
I've tried on a different computer running:

FreeBSD hammer 15.0-CURRENT FreeBSD 15.0-CURRENT #41 main-n273693-645f8bcba9c8: Mon Nov 18 22:00:51 CET 2024     root@hammer:/usr/obj/usr/home/fernape/FreeBSD-repos/src/amd64.amd64/sys/GENERIC amd64

Still the same error. I tried and deleted .local/share/JetBrains but it didn't make any difference.

Any ideas?
Comment 5 Dmitry Wagin 2024-12-29 23:49:58 UTC
Created attachment 256282 [details]
jetbrains-clion.diff

fixed typo
Comment 6 Dmitry Wagin 2024-12-30 00:00:05 UTC
(In reply to Fernando Apesteguía from comment #4)

/usr/local/share/jetbrains/clion/plugins/clion-radler is not included in the current distribution. Delete the package and check the contents of the /usr/local/share/jetbrains/clion...

Also try delete ~/.cache/JetBrains/CLion*, ~/.config/JetBrains/CLion*, ~/.local/share/JetBrains/CLion*
Comment 7 Fernando Apesteguía freebsd_committer freebsd_triage 2024-12-30 17:37:48 UTC
(In reply to Dmitry Wagin from comment #6)

fernape@beastie:~$ ls /usr/local/share/jet*                                                                                                                     
ls: /usr/local/share/jet*: No such file or directory                                                                                                            
fernape@beastie:~$ rm -rf .cache/JetBrains/* .config/JetBrains/* .local/share/JetBrains/*                                                                       
fernape@beastie:~$ sudo pkg install /usr/local/poudriere/data/packages/14_1amd64-default/All/jetbrains-clion-2024.3.pkg                                         
Updating FreeBSD repository catalogue...                                                                                                                        
FreeBSD repository is up to date.                                                                                                                               
All repositories are up to date.                                                                                                                                
Checking integrity... done (0 conflicting)                                                                                                                      
The following 7 package(s) will be affected (of 0 checked):                                                                                                     
                                                                                                                                                                
New packages to be INSTALLED:                                                                                                                                   
        intellij-fsnotifier: 20230112                                                                                                                           
        jetbrains-clion: 2024.3                                                                                                                                 
        jetbrains-pty4j: 0.13.2                                                                                                                                 
        jetbrains-restarter: 242.23726.38_2                                                                                                                     
        jetbrains-sqlite: 242.23726.38                                                                                                                          
        lsof: 4.99.4,8                                                                                                                                          
        openjdk17: 17.0.13+11.1                                                                                                                                 
                                                                                                                                                                
Number of packages to be installed: 7                                                                                                                           
                                                                                                                                                                
The process will require 3 GiB more space.                                                                                                                      
                                                                                                                                                                
Proceed with this action? [y/N]: y                                                                                                                              
[1/1] Installing openjdk17-17.0.13+11.1...                                                                                                                      
Extracting openjdk17-17.0.13+11.1: 100%                                                                                                                         
[1/7] Installing lsof-4.99.4,8...                                                                                                                               
[1/7] Extracting lsof-4.99.4,8: 100%                                                                                                                            
[2/7] Installing jetbrains-pty4j-0.13.2...                                                                                                                      
[2/7] Extracting jetbrains-pty4j-0.13.2: 100%                                                                                                                   
[3/7] Installing jetbrains-sqlite-242.23726.38...                                                                                                               
[3/7] Extracting jetbrains-sqlite-242.23726.38: 100%                                                                                                            
[4/7] Installing jetbrains-restarter-242.23726.38_2...                                                                                                          
[4/7] Extracting jetbrains-restarter-242.23726.38_2: 100%                                                                                                       
[5/7] Installing intellij-fsnotifier-20230112...                                                                                                                
[5/7] Extracting intellij-fsnotifier-20230112: 100%                                                                                                             
[6/7] Installing jetbrains-clion-2024.3...                                                                                                                      
[6/7] Extracting jetbrains-clion-2024.3: 100%  
          ==> Running trigger: desktop-file-utils.ucl                                                                                                                     
Building cache database of MIME types                                                                                                                           
=====                                                                                                                                                           
Message from openjdk17-17.0.13+11.1:

--
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

        mount -t fdescfs fdesc /dev/fd
        mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

        fdesc   /dev/fd         fdescfs         rw      0       0
        proc    /proc           procfs          rw      0       0
=====
Message from lsof-4.99.4,8:

--
NOTE: Due to the way the FreeBSD build clusters make packages,
you may see a warning similar to the following:

lsof: WARNING: compiled for FreeBSD release 11.1-RELEASE-p6; this is 11.1-RELEASE-p4.

This is because the poudriere jails that build the packages don't have the  
corresponding kernel installed, so they don't know that the kernel version is different.

This warning can be ignored if you are using a system that is updated via freebsd-update
and are using pre-built packages.
=====
Message from jetbrains-clion-2024.3:

--
There is a native (faster) file watching support backed by kqueue which is
enabled by default.  If you encounter problems with watching large
trees, you can disable it by adding the following property via the menu
entry Help -> Edit Custom Properties...

      idea.filewatcher.disabled=true
fernape@beastie:~$ clion
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.uti
l.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
2024-12-30 18:35:59,132 [   1520]   WARN - #c.i.u.SingleAlarm - Do not use an alarm in an early executing code
2024-12-30 18:35:59,184 [   1572]   WARN - #c.i.o.u.r.RegistryValue - Attempt to load key 'ide.scroll.background.auto' for not yet loaded registry
2024-12-30 18:35:59,207 [   1595]   WARN - #c.i.o.u.r.RegistryValue - Attempt to load key 'ide.scroll.thumb.small.if.opaque' for not yet loaded registry
2024-12-30 18:35:59,231 [   1619]   WARN - #c.i.o.u.r.RegistryValue - Attempt to load key 'ide.scroll.align.component' for not yet loaded registry
2024-12-30 18:35:59,432 [   1820]   WARN - #c.i.o.u.r.RegistryValue - Attempt to load key 'idea.true.smooth.scrolling.debug' for not yet loaded registry
2024-12-30 18:36:01,229 [   3617]   WARN - #c.i.i.p.PluginManager - Cannot load plugin descriptor, files:
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar, path=lib/ice4j.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jstun.jar, path=lib/jstun.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-host.jar, path=lib/cwm-host.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-model.jar, path=lib/cwm-model.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin.jar, path=lib/cwm-plugin.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-common.jar, path=lib/cwm-common.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jitsi-utils.jar, path=lib/jitsi-utils.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/tls-channel.jar, path=lib/tls-channel.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/vcs-protocol.jar, path=lib/vcs-protocol.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/java-websocket.jar, path=lib/java-websocket.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/quiche-jna-stubs.jar, path=lib/quiche-jna-stubs.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-common.jar, path=lib/cwm-plugin-common.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/bouncy-castle-pgp.jar, path=lib/bouncy-castle-pgp.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/grpc-netty-shaded.jar, path=lib/grpc-netty-shaded.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jnaerator-runtime.jar, path=lib/jnaerator-runtime.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-backend.jar, path=lib/cwm-plugin-backend.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-android.jar, path=lib/cwm-plugin-android.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-host-unattended.jar, path=lib/cwm-host-unattended.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-unattended-common.jar, path=lib/cwm-unattended-common.jar)
java.lang.RuntimeException: Cannot resolve /META-INF/codeWithMe.xml (dataLoader=plugin-classpath.txt based data loader)
        at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:987)
        at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:326)
        at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
        at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:110)
        at com.intellij.ide.plugins.XmlReader.readModuleDescriptor$default(XmlReader.kt:85)
        at com.intellij.ide.plugins.PluginDescriptorLoader.loadPluginDescriptor(PluginDescriptorLoader.kt:722)
        at com.intellij.ide.plugins.PluginDescriptorLoader.access$loadPluginDescriptor(PluginDescriptorLoader.kt:1)
        at com.intellij.ide.plugins.PluginDescriptorLoader$loadFromPluginClasspathDescriptor$1$1.invokeSuspend(PluginDescriptorLoader.kt:690)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.io.IOException: Exception /usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar while loading META-INF/codeWithMe.xml
        at com.intellij.ide.plugins.PluginXmlPathResolver.loadXIncludeReference(PluginXmlPathResolver.kt:81)
        at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:965)
        ... 13 more
Caused by: java.nio.file.NoSuchFileException: /usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)

What is that ice4j.jar that it tries to find?
Comment 8 Dmitry Wagin 2025-01-07 12:55:36 UTC
(In reply to Fernando Apesteguía from comment #7)

ice4j.jar - A Java implementation of the ICE protocol, part of clion-cwm-plugin.
Comment 9 Dmitry Wagin 2025-01-07 12:58:51 UTC
(In reply to Fernando Apesteguía from comment #7)

Did it work after clearing /usr/local/share/jet*?
Comment 10 Fernando Apesteguía freebsd_committer freebsd_triage 2025-01-07 18:08:42 UTC
(In reply to Dmitry Wagin from comment #9)
Nope, I don't have any /usr/local/share/jet*
Comment 11 Dmitry Wagin 2025-01-08 14:51:15 UTC
(In reply to Fernando Apesteguía from comment #10)

Please try:

rm -rf /usr/local/share/jetbrains/clion/plugins/cidr-completionMlRanking-plugin
Comment 12 Dmitry Wagin 2025-01-08 15:17:57 UTC
Created attachment 256545 [details]
jetbrains-clion.diff

removed cidr-completionMlRanking-plugin plugin
Comment 13 Fernando Apesteguía freebsd_committer freebsd_triage 2025-01-08 16:36:20 UTC
(In reply to Dmitry Wagin from comment #11)

Removed directory. List of plugins:

$ ls /usr/local/share/jetbrains/clion/plugins/
DatabaseTools/                   clouds-docker-gateway/           karma/                           restClient/
angular/                         clouds-docker-impl/              keymap-eclipse/                  rider-plugins-clion-radler-cwm/
c-clangd-plugin/                 color-scheme-all_hallows_eve/    keymap-netbeans/                 rider-plugins-cpp-debugger/
c-clangdBridge-plugin/           color-scheme-blackboard/         keymap-qtcreator/                sass/
c-performanceTesting-plugin/     color-scheme-cobalt/             keymap-resharper/                searchEverywhereMl/
c-plugin/                        color-scheme-dawn/               keymap-visualStudio/             settingsSync/
charts/                          color-scheme-espresso/           keymap-xcode/                    sh/
cidr-base-plugin/                color-scheme-github/             less/                            station-plugin/
cidr-clangConfig-plugin/         color-scheme-monokai/            llmInstaller/                    styled-components/
cidr-clangFormat-plugin/         color-scheme-rails_casts/        localization-ja/                 stylelint/
cidr-compiler-custom-plugin/     color-scheme-solarized-cidr/     localization-ko/                 tailwindcss/
cidr-copyright-plugin/           color-scheme-twilight/           localization-zh/                 tasks/
cidr-grazie-plugin/              color-scheme-vibrant_ink/        makefile/                        tasks-timeTracking/
cidr-langInjection-plugin/       color-scheme-warmNeon/           markdown/                        terminal/
cidr-linkerscript/               color-scheme-xcode/              ml-inline-completion/            textmate/
cidr-markdown-plugin/            completionMlRanking/             nativeDebug-plugin/              toml/
cidr-parallelStacks-plugin/      configurationScript/             nextjs/                          tslint/
clion-compdb-plugin/             copyright/                       nodeJS/                          uml/
clion-ctest-plugin/              css-impl/                        nodeJS-remoteInterpreter/        vcs-git/
clion-diagnostics-plugin/        dev/                             performanceTesting/              vcs-github-ultimate/
clion-embedded-plugin/           dts/                             performanceTesting-async/        vcs-gitlab/
clion-ide/                       emojipicker/                     platform-ide-provisioner/        vcs-hg/
clion-makefile-plugin/           featuresTrainer/                 platform-ijent-impl/             vcs-perforce/
clion-meson-plugin/              fullLine/                        platform-images/                 vcs-svn/
clion-packageManager-plugin/     grazie/                          platform-langInjection/          vitejs/
clion-performanceTesting-plugin/ grid-core-impl/                  plugin-classpath.txt             vuejs/
clion-rd-components/             grid-impl/                       postcss/                         webComponents/
clion-runFile-plugin/            html-tools/                      prettierJS/                      webDeployment/
clion-test-boost-plugin/         ini/                             python-ce/                       webpack/
clion-test-catch-plugin/         javascript-debugger/             qml-plugin/                      xpath/
clion-test-doctest-plugin/       javascript-intentions/           qodana/                          yaml/
clion-test-google-plugin/        javascript-plugin/               qt-plugin/
clion-webDeployment-plugin/      json/                            react/
clion-west-plugin/               jsonpath/                        remoteRun/

OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.util.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
2025-01-08 17:35:19,914 [     77]   WARN - #c.i.i.p.PluginManager - Cannot load plugin descriptor, files:
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar, path=lib/ice4j.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jstun.jar, path=lib/jstun.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-host.jar, path=lib/cwm-host.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-model.jar, path=lib/cwm-model.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin.jar, path=lib/cwm-plugin.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-common.jar, path=lib/cwm-common.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jitsi-utils.jar, path=lib/jitsi-utils.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/tls-channel.jar, path=lib/tls-channel.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/vcs-protocol.jar, path=lib/vcs-protocol.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/java-websocket.jar, path=lib/java-websocket.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/quiche-jna-stubs.jar, path=lib/quiche-jna-stubs.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-common.jar, path=lib/cwm-plugin-common.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/bouncy-castle-pgp.jar, path=lib/bouncy-castle-pgp.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/grpc-netty-shaded.jar, path=lib/grpc-netty-shaded.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jnaerator-runtime.jar, path=lib/jnaerator-runtime.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-backend.jar, path=lib/cwm-plugin-backend.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-android.jar, path=lib/cwm-plugin-android.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-host-unattended.jar, path=lib/cwm-host-unattended.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-unattended-common.jar, path=lib/cwm-unattended-common.jar)
java.lang.RuntimeException: Cannot resolve /META-INF/codeWithMe.xml (dataLoader=plugin-classpath.txt based data loader)
        at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:987)
        at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:326)
        at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
        at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:110)
        at com.intellij.ide.plugins.XmlReader.readModuleDescriptor$default(XmlReader.kt:85)
        at com.intellij.ide.plugins.PluginDescriptorLoader.loadPluginDescriptor(PluginDescriptorLoader.kt:722)
        at com.intellij.ide.plugins.PluginDescriptorLoader.access$loadPluginDescriptor(PluginDescriptorLoader.kt:1)
        at com.intellij.ide.plugins.PluginDescriptorLoader$loadFromPluginClasspathDescriptor$1$1.invokeSuspend(PluginDescriptorLoader.kt:690)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.io.IOException: Exception /usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar while loading META-INF/codeWithMe.xml
        at com.intellij.ide.plugins.PluginXmlPathResolver.loadXIncludeReference(PluginXmlPathResolver.kt:81)
        at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:965)
        ... 13 more
Caused by: java.nio.file.NoSuchFileException: /usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:181)
        at java.base/java.nio.channels.FileChannel.open(FileChannel.java:298)
        at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:56)
        at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:48)
        at com.intellij.util.lang.ZipFile.load(ZipFile.java:49)
        at com.intellij.platform.ide.bootstrap.ZipFilePoolImpl.load$lambda$1(ZipFilePoolImpl.kt:38)
        at com.intellij.platform.ide.bootstrap.ZipFilePoolImpl.load$lambda$2(ZipFilePoolImpl.kt:37)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at com.intellij.platform.ide.bootstrap.ZipFilePoolImpl.load(ZipFilePoolImpl.kt:37)
        at com.intellij.ide.plugins.MixedDirAndJarDataLoader.load(PluginDescriptorLoader.kt:778)
        at com.intellij.ide.plugins.PluginXmlPathResolver.loadXIncludeReference(PluginXmlPathResolver.kt:48)
        ... 14 more
2025-01-08 17:35:20,292 [    455]   WARN - #c.i.i.p.PluginManager - Problems found loading plugins:
  The intellij.rider.plugins.clion.radler.cwm (id=intellij.rider.plugins.clion.radler.cwm, path=/usr/local/share/jetbrains/clion/plugins/rider-plugins-clion-radler-cwm) plugin Plugin 'intellij.rider.plugins.clion.radler.cwm' requires plugin 'com.jetbrains.codeWithMe' to be installed

**Start Failed**

Internal error
Comment 14 Dmitry Wagin 2025-01-20 22:16:18 UTC
Created attachment 256866 [details]
jetbrains-clion.diff

Update to 2024.3.2
Changelog: https://youtrack.jetbrains.com/articles/CPP-A-230654382
Comment 15 Fernando Apesteguía freebsd_committer freebsd_triage 2025-01-23 17:39:51 UTC
Unfortunately still doesn't work:

$ ls /usr/local/share/jet*
ls: /usr/local/share/jet*: No such file or directory

 $ sudo pkg install /usr/local/poudriere/data/packages/14_2amd64-default/All/jetbrains-clion-2024.3.2.pkg 18:34:57 [189/692]
Updating FreeBSD repository catalogue...                                                                                                                        
FreeBSD repository is up to date.                                                                                                                               
All repositories are up to date.                                                                                                                                
Checking integrity... done (0 conflicting)                                                                                                                      
The following 7 package(s) will be affected (of 0 checked):                                                                                                     
                                                                                                                                                                
New packages to be INSTALLED:                                                                                                                                   
        intellij-fsnotifier: 20230112                                                                                                                           
        jetbrains-clion: 2024.3.2                                                                                                                               
        jetbrains-pty4j: 0.13.2                                                                                                                                 
        jetbrains-restarter: 242.23726.38_3                                                                                                                     
        jetbrains-sqlite: 242.23726.38                                                                                                                          
        lsof: 4.99.4_2,8                                                                                                                                        
        openjdk17: 17.0.13+11.1                                                                                                                                 
                                                                                                                                                                
Number of packages to be installed: 7                                                                                                                           
                                                                                                                                                                
The process will require 3 GiB more space.                                                                                                                      
                                                                                                                                                                
Proceed with this action? [y/N]: y                                                                                                                              
[1/1] Installing openjdk17-17.0.13+11.1...                                                                                                                      
Extracting openjdk17-17.0.13+11.1: 100%                                                                                                                         
[1/7] Installing lsof-4.99.4_2,8...                                                                                                                             
[1/7] Extracting lsof-4.99.4_2,8: 100%                                                                                                                          
[2/7] Installing jetbrains-pty4j-0.13.2...                                                                                                                      
[2/7] Extracting jetbrains-pty4j-0.13.2: 100%                                                                                                                   
[3/7] Installing jetbrains-sqlite-242.23726.38...                                                                                                               
[3/7] Extracting jetbrains-sqlite-242.23726.38: 100%                                                                                                            
[4/7] Installing jetbrains-restarter-242.23726.38_3...                                                                                                          
[4/7] Extracting jetbrains-restarter-242.23726.38_3: 100%                                                                                                       
[5/7] Installing intellij-fsnotifier-20230112...                                                                                                                
[5/7] Extracting intellij-fsnotifier-20230112: 100%                                                                                                             
[6/7] Installing jetbrains-clion-2024.3.2...
[6/7] Extracting jetbrains-clion-2024.3.2: 100%
==> Running trigger: desktop-file-utils.ucl
...
<snip>
...
$ clion 
OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "com.intellij.uti
l.lang.PathClassLoader"). To use archived non-system classes, this property must not be set
2025-01-23 18:36:03,377 [    127]   WARN - #c.i.i.p.PluginManager - Cannot load plugin descriptor, files:
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar, path=lib/ice4j.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jstun.jar, path=lib/jstun.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-host.jar, path=lib/cwm-host.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-model.jar, path=lib/cwm-model.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin.jar, path=lib/cwm-plugin.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-common.jar, path=lib/cwm-common.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jitsi-utils.jar, path=lib/jitsi-utils.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/tls-channel.jar, path=lib/tls-channel.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/vcs-protocol.jar, path=lib/vcs-protocol.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/java-websocket.jar, path=lib/java-websocket.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/quiche-jna-stubs.jar, path=lib/quiche-jna-stubs.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-common.jar, path=lib/cwm-plugin-common.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/bouncy-castle-pgp.jar, path=lib/bouncy-castle-pgp.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/grpc-netty-shaded.jar, path=lib/grpc-netty-shaded.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/jnaerator-runtime.jar, path=lib/jnaerator-runtime.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-backend.jar, path=lib/cwm-plugin-backend.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-plugin-android.jar, path=lib/cwm-plugin-android.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-host-unattended.jar, path=lib/cwm-host-unattended.jar)
  FileItem(file=/usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/cwm-unattended-common.jar, path=lib/cwm-unattended-common.jar)
java.lang.RuntimeException: Cannot resolve /META-INF/codeWithMe.xml (dataLoader=plugin-classpath.txt based data loader)
        at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:987)
        at com.intellij.ide.plugins.XmlReader.readRootElementChild(XmlReader.kt:326)
        at com.intellij.ide.plugins.XmlReader.access$readRootElementChild(XmlReader.kt:1)
        at com.intellij.ide.plugins.XmlReader.readModuleDescriptor(XmlReader.kt:110)
        at com.intellij.ide.plugins.XmlReader.readModuleDescriptor$default(XmlReader.kt:85)
        at com.intellij.ide.plugins.PluginDescriptorLoader.loadPluginDescriptor(PluginDescriptorLoader.kt:722)
        at com.intellij.ide.plugins.PluginDescriptorLoader.access$loadPluginDescriptor(PluginDescriptorLoader.kt:1)
        at com.intellij.ide.plugins.PluginDescriptorLoader$loadFromPluginClasspathDescriptor$1$1.invokeSuspend(PluginDescriptorLoader.kt:690)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.io.IOException: Exception /usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar while loading META-INF/codeWithMe.xml
        at com.intellij.ide.plugins.PluginXmlPathResolver.loadXIncludeReference(PluginXmlPathResolver.kt:81)
        at com.intellij.ide.plugins.XmlReader.readInclude(XmlReader.kt:965)
        ... 13 more
Caused by: java.nio.file.NoSuchFileException: /usr/local/share/jetbrains/clion/plugins/clion-cwm-plugin/lib/ice4j.jar
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:181)
        at java.base/java.nio.channels.FileChannel.open(FileChannel.java:298)
        at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:56)
        at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:48)
        at com.intellij.util.lang.ZipFile.load(ZipFile.java:49)
        at com.intellij.platform.ide.bootstrap.ZipFilePoolImpl.load$lambda$1(ZipFilePoolImpl.kt:38)
        at com.intellij.platform.ide.bootstrap.ZipFilePoolImpl.load$lambda$2(ZipFilePoolImpl.kt:37)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at com.intellij.platform.ide.bootstrap.ZipFilePoolImpl.load(ZipFilePoolImpl.kt:37)
        at com.intellij.ide.plugins.MixedDirAndJarDataLoader.load(PluginDescriptorLoader.kt:778)
        at com.intellij.ide.plugins.PluginXmlPathResolver.loadXIncludeReference(PluginXmlPathResolver.kt:48)
        ... 14 more
2025-01-23 18:36:03,735 [    485]   WARN - #c.i.i.p.PluginManager - Problems found loading plugins:
  The intellij.rider.plugins.clion.radler.cwm (id=intellij.rider.plugins.clion.radler.cwm, path=/usr/local/share/jetbrains/clion/plugins/rider-plugins-clion-rad
ler-cwm) plugin Plugin 'intellij.rider.plugins.clion.radler.cwm' requires plugin 'com.jetbrains.codeWithMe' to be installed

**Start Failed**

Internal error

The clion-cwm-plugin directory does not exist:

$ ls /usr/local/share/jetbrains/clion/plugins/clion-
clion-compdb-plugin/             clion-makefile-plugin/           clion-runFile-plugin/            clion-webDeployment-plugin/
clion-ctest-plugin/              clion-meson-plugin/              clion-test-boost-plugin/         clion-west-plugin/
clion-diagnostics-plugin/        clion-packageManager-plugin/     clion-test-catch-plugin/         
clion-embedded-plugin/           clion-performanceTesting-plugin/ clion-test-doctest-plugin/       
clion-ide/                       clion-rd-components/             clion-test-google-plugin/
Comment 16 Erik Jensen 2025-01-25 10:41:36 UTC
I am having the same issue as fernape describes on 14.1-RELEASE-p6 with version >= 2024.2.
CLion was working fine with 2024.1.x.

Really appreciate the effort that is going into making CLion available as a port!
Comment 17 Fernando Apesteguía freebsd_committer freebsd_triage 2025-01-25 18:18:47 UTC
Some plugins (like clion-cwm-plugin) are deleted in the Makefile:

https://cgit.freebsd.org/ports/tree/devel/jetbrains-clion/Makefile#n66

But then, clion tries to load them because it found them in the plugin-classpath.txt.

Dmitry, can you provide a patch remove form plugin-classpath.txt the plugins that are RM'ed in the Makefile? The plugins that depend on those should be removed too I think.
Comment 18 Dmitry Wagin 2025-02-13 21:16:07 UTC
Created attachment 257503 [details]
jetbrains-clion.diff

Update to 2024.3.3

Chnagelog: https://youtrack.jetbrains.com/articles/CPP-A-230654386
Comment 19 Dmitry Wagin 2025-02-13 21:18:46 UTC
(In reply to Fernando Apesteguía from comment #17)

I can't reproduce the problem, everything works on my system.
Comment 20 Dmitry Wagin 2025-02-14 19:16:39 UTC
(In reply to Dmitry Wagin from comment #19)

My system:

> uname -a

FreeBSD bsd1.cyber.net 14.2-STABLE FreeBSD 14.2-STABLE #0 stable/14-9938f6408934-dirty: Sun Feb  9 11:54:37 MSK 2025     root@localhost:/usr/src/amd64.amd64/sys/GENERIC-MY amd64

Do you have any ideas what could be the difference between our systems?
Comment 21 Fernando Apesteguía freebsd_committer freebsd_triage 2025-02-14 19:44:07 UTC
(In reply to Dmitry Wagin from comment #20)
Maybe what I mentioned in comment #17.

Is it possible that you have any plugins already installed or maybe is a leftover from a previous installation?
Comment 22 Gabija B 2025-02-19 20:48:19 UTC
Experiencing the same problem as Fernando on a fresh install.
Comment 23 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-02-21 12:52:58 UTC
I have the same on 2024.2.2 (referenced PR). Reverting to 2024.1.4 may it work again.
Comment 24 Joel Bodenmann freebsd_committer freebsd_triage 2025-03-03 21:18:15 UTC
Just in case that helps: I am running CLion 2024.2.2 (current version in ports) every day without a single issue.

I once had a "similar" issue and it turned out to be a CLion plugin. Disabling (all?) plugins allowed to start CLion and updating the plugin that caused the issue (ideavim in my case).
Comment 25 Fernando Apesteguía freebsd_committer freebsd_triage 2025-03-04 17:10:10 UTC
(In reply to Joel Bodenmann from comment #24)
Yep,

That's what I mentioned in comment #17. The issue is the clion installs a list of plugins that don't work out of the box. At least for some users.
That's why I think the list of plugins should be curated (in the Makefile and in the plugin-classpath.txt file.
Comment 26 Joel Bodenmann freebsd_committer freebsd_triage 2025-03-23 00:01:48 UTC
Hey guys,
Do we have any news on this? Would be great to get the latest CLion version into ports.
Comment 27 Fernando Apesteguía freebsd_committer freebsd_triage 2025-03-23 17:42:59 UTC
(In reply to Joel Bodenmann from comment #26)
I'm 100% sure the problem is a plugin.
Rename /usr/local/share/jetbrains/clion/plugins/plugin-classpath.txt
to plugin-classpath.txt.old and clion will boot up.

That is why I said in comment #17 that file needs to be curated and the problematic plugin should be disabled.

I *think* clion-radler is the culprit, but I'm not 100% sure.
Comment 28 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-23 18:58:43 UTC
(In reply to Fernando Apesteguía from comment #27)

Well, there are some weird bytes in the start of plugin-classpath.txt:
"""
^B^A^@^M֟<idea-plugin
"""

Removing the "^B^A^@^M֟" part makes it work there.
Comment 29 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-23 19:20:35 UTC
I didn't see the mention of plugins-classpath.txt in package itself, not port's files (except the pkg-plist). When and how it is generated? Does user locale affects it content? Mine is en_US.UTF-8.
Comment 30 Dmitry Wagin 2025-03-23 19:37:56 UTC
(In reply to Ruslan Makhmatkhanov from comment #29)

What do you mean?

pkg-plist:
%%DATADIR%%/plugins/plugin-classpath.txt
Comment 31 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-23 19:46:24 UTC
(In reply to Dmitry Wagin from comment #30)

I mean it looks like it is generated at package install stage, because I don't see this file in a downloaded package. But I also don't see anything related to this file in port's files, except the pkg-plist. So I'm wondering where it comes from. In my system it is somehow generated to contain symbols "^B^A^@^M֟" in the very start of plugin-classpath.txt file. If I remove these symbols, clion starts w/o error.
Comment 32 Dmitry Wagin 2025-03-23 19:48:12 UTC
(In reply to Ruslan Makhmatkhanov from comment #28)

In all Jetbrains IDE distributions plugin-classpath.txt has this format.
Comment 33 Dmitry Wagin 2025-03-23 19:49:58 UTC
(In reply to Ruslan Makhmatkhanov from comment #31)

plugin-classpath.txt is part of original distribution.
Comment 34 Dmitry Wagin 2025-03-23 19:58:02 UTC
(In reply to Ruslan Makhmatkhanov from comment #31)

What version of openjdk17 do you have installed?

My system has openjdk17-17.0.14+7.1
Comment 35 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-23 19:59:26 UTC
(In reply to Dmitry Wagin from comment #32)

Yes, you are right. But somehow goland and pycharm work fine with this header in plugin-classpath, while clion does not, in my system at least. Strange.
Comment 36 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-23 20:02:39 UTC
(In reply to Dmitry Wagin from comment #33)

Nevermind, looks like it was some problem with my archive viewer. The file is indeed in the package. 

I have openjdk17-17.0.14+7.1 too.
Comment 37 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-23 20:03:44 UTC
goland and pycharm are using this openjdk version too
Comment 38 Dmitry Wagin 2025-03-23 20:05:32 UTC
Created attachment 258955 [details]
jetbrains-clion.diff

Update to 2024.3.4

Changelog: https://youtrack.jetbrains.com/articles/CPP-A-230654388
Comment 39 Fernando Apesteguía freebsd_committer freebsd_triage 2025-03-24 08:29:52 UTC
(In reply to Ruslan Makhmatkhanov from comment #31)
Those weird symbols are really suspicious. They are all over the file.
2024.2.2 also have those bytes around the file and it works fine though.
Comment 40 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-24 10:14:36 UTC
(In reply to Fernando Apesteguía from comment #39)

As Dmitry already said - they are in every jetbrains product, so it should be normal. But only clion 2024.2.2 doesn't work here until I remove them. It's 100% reproducible in my system.
Comment 41 Joel Bodenmann freebsd_committer freebsd_triage 2025-03-27 20:07:23 UTC
fernape@ did you have a chance to check out the new 2024.3.4 patch or would you like another committer to "take over"?
Comment 42 Fernando Apesteguía freebsd_committer freebsd_triage 2025-03-28 07:10:14 UTC
(In reply to Joel Bodenmann from comment #41)
Still fails for me.
Before installing 2024.3.4 I completely removed my ~/.local/share/JetBrains
Comment 43 Fernando Apesteguía freebsd_committer freebsd_triage 2025-03-30 17:54:28 UTC
Does it work for any of you?
Comment 44 Camilo Sasuke 2025-03-30 21:11:21 UTC
Hi,

Installed FreeBSD 14.2 with GNOME and cloned ports tree.

Then applied the patch from 2025-03-23 20:05 UTC.

Running CLion shows message box with buttons "Restart Now" and "Restart Later".

I click "Restart Now"

Another dialog displays this message:

Internal error

java.lang.IllegalArgumentException: Missing extension point: com.intellij.flsConfigurationProvider in container Application (containerState PRE_INIT) 
    at com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.getExtensionPoint(ExtensionsAreaImpl.kt:273)
    at com.intellij.openapi.extensions.BaseExtensionPointName.getPointImpl$intellij_platform_extensions(BaseExtensionPointName.kt:18)
    at com.intellij.openapi.extensions.ExtensionPointName.getExtensionList(ExtensionPointName.kt:54)
    at com.intellij.ide.t.b.tt.Q(tt.java:121)
    at com.intellij.ide.t.b.tz.q(tz.java:45)
    at com.intellij.ide.t.b.v.Q(v.java:355)
    at com.intellij.ide.t.b.v.Q(v.java:202)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:569)
    at com.intellij.idea.q.invokeSuspend(q.java:44)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:569)
    at com.intellij.idea.q.Q(q.java)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:569)
    at com.intellij.idea.q.invoke(q.java)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
    at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
    at com.intellij.idea.MainImpl.start(MainImpl.kt:43)
    at com.intellij.platform.ide.bootstrap.StartupUtil$startApplication$8$2.invokeSuspend(startup.kt:291)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:111)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$BuildersKt__BuildersKt(Builders.kt:84)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:52)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at com.intellij.idea.Main.mainImpl(Main.kt:72)
    at com.intellij.idea.Main.main(Main.kt:47)
    Suppressed: com.intellij.diagnostic.PluginException: com.jetbrains.rider.protocol.ProtocolManagerInitializer PluginClassLoader(plugin=PluginDescriptor(name=C++ Language Support via ReSharper, id=org.jetbrains.plugins.clion.radler, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-radler, version=243.25659.42, package=com.jetbrains.cidr.radler, isBundled=true), packagePrefix=com.jetbrains.cidr.radler., state=active, parents=PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.remoteDriver, descriptorPath=intellij.performanceTesting.remoteDriver.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.25659.42, package=com.jetbrains.performancePlugin.remotedriver, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.vcs, descriptorPath=intellij.performanceTesting.vcs.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.25659.42, package=com.intellij.performanceTesting.vcs, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.yaml, descriptorPath=intellij.grazie.yaml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.yaml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.xml, descriptorPath=intellij.grazie.xml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.xml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.properties, descriptorPath=intellij.grazie.properties.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.properties, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.markdown, descriptorPath=intellij.grazie.markdown.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.markdown, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.json, descriptorPath=intellij.grazie.json.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.json, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.java, descriptorPath=intellij.grazie.java.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.java, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.25659.42, package=com.jetbrains.performancePlugin, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie, isBundled=true), PluginDescriptor(name=IntelliLang, id=org.intellij.intelliLang, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/platform-langInjection, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion IDE, id=com.intellij.clion, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-ide, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Google Testing and Mocking Framework, id=org.jetbrains.plugins.clion.test.google, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-google-plugin, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Catch, id=org.jetbrains.plugins.clion.test.catch, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-catch-plugin, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Boost.Test, id=org.jetbrains.plugins.clion.test.boost, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-boost-plugin, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=com.intellij.clion.rd.components, id=com.intellij.clion.rd.components, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-rd-components, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Doctest, id=org.jetbrains.plugins.clion.test.doctest, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-doctest-plugin, version=243.25659.42, package=null, isBundled=true), )
        at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:430)
        at com.intellij.serviceContainer.ComponentManagerImpl.access$registerComponents(ComponentManagerImpl.kt:94)
        at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:332)
        at com.intellij.openapi.client.ClientAwareComponentManager.registerComponents(ClientAwareComponentManager.kt:65)
        at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents$default(ComponentManagerImpl.kt:313)
        at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invokeSuspend(ApplicationLoader.kt:103)
        at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt)
        at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1$1.invoke(ApplicationLoader.kt)
        at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
        at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
        at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
        at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56)
        at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span$default(tracer.kt:48)
        at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$initServiceContainerJob$1.invokeSuspend(ApplicationLoader.kt:102)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:277)
        at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
    Caused by: java.lang.ClassNotFoundException: com.jetbrains.rider.protocol.ProtocolManagerInitializer PluginClassLoader(plugin=PluginDescriptor(name=C++ Language Support via ReSharper, id=org.jetbrains.plugins.clion.radler, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-radler, version=243.25659.42, package=com.jetbrains.cidr.radler, isBundled=true), packagePrefix=com.jetbrains.cidr.radler., state=active, parents=PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.remoteDriver, descriptorPath=intellij.performanceTesting.remoteDriver.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.25659.42, package=com.jetbrains.performancePlugin.remotedriver, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, moduleName=intellij.performanceTesting.vcs, descriptorPath=intellij.performanceTesting.vcs.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.25659.42, package=com.intellij.performanceTesting.vcs, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.yaml, descriptorPath=intellij.grazie.yaml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.yaml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.xml, descriptorPath=intellij.grazie.xml.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.xml, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.properties, descriptorPath=intellij.grazie.properties.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.properties, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.markdown, descriptorPath=intellij.grazie.markdown.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.markdown, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.json, descriptorPath=intellij.grazie.json.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.json, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, moduleName=intellij.grazie.java, descriptorPath=intellij.grazie.java.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie.ide.language.java, isBundled=true), PluginDescriptor(name=Performance Testing, id=com.jetbrains.performancePlugin, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/performanceTesting, version=243.25659.42, package=com.jetbrains.performancePlugin, isBundled=true), PluginDescriptor(name=Grazie Lite, id=tanvd.grazi, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/grazie, version=243.25659.42, package=com.intellij.grazie, isBundled=true), PluginDescriptor(name=IntelliLang, id=org.intellij.intelliLang, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/platform-langInjection, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion IDE, id=com.intellij.clion, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-ide, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Google Testing and Mocking Framework, id=org.jetbrains.plugins.clion.test.google, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-google-plugin, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Catch, id=org.jetbrains.plugins.clion.test.catch, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-catch-plugin, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Boost.Test, id=org.jetbrains.plugins.clion.test.boost, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-boost-plugin, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=com.intellij.clion.rd.components, id=com.intellij.clion.rd.components, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-rd-components, version=243.25659.42, package=null, isBundled=true), PluginDescriptor(name=CLion Doctest, id=org.jetbrains.plugins.clion.test.doctest, descriptorPath=plugin.xml, path=/usr/local/share/jetbrains/clion/plugins/clion-test-doctest-plugin, version=243.25659.42, package=null, isBundled=true), )
        at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
        at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents2Inner(ComponentManagerImpl.kt:463)
        at com.intellij.serviceContainer.ComponentManagerImpl.registerComponents(ComponentManagerImpl.kt:423)
        ... 22 more

-----
JRE: 17.0.13+11-1 amd64 (OpenJDK BSD Porting Team)
/usr/local/openjdk17

Best regards,
Camilo
Comment 45 Camilo Sasuke 2025-03-30 21:22:11 UTC
Tried again.

This time deinstalled the port then reinstalled it.

Then deleted folder ~/.local/share/JetBrains.

Got the same error.
Comment 46 Camilo Sasuke 2025-03-30 21:43:40 UTC
comment #27

After renaming:

/usr/local/share/jetbrains/clion/plugins/plugin-classpath.txt 

to 

plugin-classpath.txt.old 

CLion works normally.
Comment 47 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-30 22:21:46 UTC
(In reply to Camilo Sasuke from comment #46)

could you try to move plugin-classpath.txt back and just remove the start weird bytes like in comment 28?
Comment 48 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-03-30 22:23:08 UTC
(In reply to Fernando Apesteguía from comment #43)

for me it works if I:
a) remove start bytes in plugin-classpath.txt
or
b) rename plugin-classpath.txt
Comment 49 Camilo Sasuke 2025-03-30 23:21:58 UTC
(In reply to Ruslan Makhmatkhanov from comment #47)

Hi Ruslan,

First:

Renamed file to original name and tried to start CLion. It crashed with the usual error.

Then:

Erased the initial extraneous characters from the file. CLion started with few things restarted and then works normally. Closing and restarting it opens the last project as usual.

Best regards,

Camilo
Comment 50 Fernando Apesteguía freebsd_committer freebsd_triage 2025-03-31 20:57:32 UTC
Created attachment 259229 [details]
Patch with fix attempt

Could you please try this patch?
Also, Dmitry, could you try that this does not break for you?

Cheers.
Comment 51 Vladimir Kiselev 2025-03-31 23:54:19 UTC
(In reply to Ruslan Makhmatkhanov from comment #47)
Thanks! It works for me too. FreeBSD 14.2–Release.
Comment 52 Fernando Apesteguía freebsd_committer freebsd_triage 2025-04-01 15:57:13 UTC
Great. Thanks for testing.

I opened an issue upstream: https://youtrack.jetbrains.com/issue/CPP-44041/clion-2024.3.4-fails-to-start-with-default-plugin-classpath.txt-on-FreeBSD

I will try and commit this tomorrow, today -ENOTIME.
Comment 53 Dmitry Wagin 2025-04-01 20:33:39 UTC
(In reply to Fernando Apesteguía from comment #52)

Don't rush to commit, check the recommendations from https://youtrack.jetbrains.com/issue/CPP-44041/clion-2024.3.4-fails-to-start-with-default-plugin-classpath.txt-on-FreeBSD
Comment 54 Dmitry Wagin 2025-04-01 21:02:28 UTC
Created attachment 259257 [details]
jetbrains-clion.diff

Update to 2024.3.5

Changelog: https://youtrack.jetbrains.com/articles/CPP-A-230654391
Comment 55 Dmitry Wagin 2025-04-01 21:12:49 UTC
(In reply to Camilo Sasuke from comment #44)

Disable Advanced Settings -> Use the ReSharper C++ language engine (CLion Nova)
Comment 56 Fernando Apesteguía freebsd_committer freebsd_triage 2025-04-02 06:20:04 UTC
(In reply to Dmitry Wagin from comment #53)
I just replied. It doesn't work for me either. Maybe others can confirm if such workaround works for them.
Comment 57 Fernando Apesteguía freebsd_committer freebsd_triage 2025-04-02 06:20:39 UTC
(In reply to Dmitry Wagin from comment #55)
But that would be once clion starts, right? It crashes right away. No menu, nothing.
Comment 58 Dmitry Wagin 2025-04-02 08:38:45 UTC
(In reply to Fernando Apesteguía from comment #56)

It's solution (In reply to Fernando Apesteguía from comment #56)

this is a solution to Camilo Sasuke's problem (I reproduced it), it looks like a different problem from yours.
Comment 59 Dmitry Wagin 2025-04-02 08:41:05 UTC
(In reply to Fernando Apesteguía from comment #57)

please try:
1. remove classpath.txt
2. change Advanced Settings -> Use the ReSharper C++ language engine (CLion Nova)
3. rollback classpath.txt
Comment 60 Dmitry Wagin 2025-04-02 08:44:04 UTC
(In reply to Fernando Apesteguía from comment #57)

> I have a clion64.vmoptions in there. The current value is:
> -Didea.suppressed.plugins.set.selector=radler

it's not default settings, earlier you wrote that you test without custom settings.
Comment 61 Fernando Apesteguía freebsd_committer freebsd_triage 2025-04-02 09:42:53 UTC
(In reply to Dmitry Wagin from comment #60)
I don't have any special settings.

rm -rf ~/.config/JetBrains

Try to run clion. It crashes.

$ cat ~/.config/JetBrains/CLion2024.3/clion64.vmoptions 
-Didea.suppressed.plugins.set.selector=radler

That file, with that content is created by the first clion first run.
You can do the experiment yourself.

As I said. I didn't touch anything.
Comment 62 Dmitry Wagin 2025-04-02 10:42:00 UTC
(In reply to Fernando Apesteguía from comment #61)

After repeating several times I got clion64.vmoptions with 
-Didea.suppressed.plugins.set.selector=radler.

It looks like some kind of AB testing.

With this setting Clion does not start, it shows the same window with errors as Camilo Sasuke.

After cleaning clion64.vmoptions from -Didea.suppressed.plugins.set.selector=radler, all work.
Comment 63 Camilo Sasuke 2025-04-02 13:49:06 UTC
(In reply to Dmitry Wagin from comment #54)

The patch didn't work initially. CLion failed with the crash dialog.

After removing the initial characters from classpath.txt CLion 2024.3.5 started normally.

Putting back the characters and changing .vmoptions either to radler or classic didn't crash anymore after a good start at least for me.
Comment 64 Camilo Sasuke 2025-04-02 13:51:52 UTC
(In reply to Dmitry Wagin from comment #53)

I would suggest Fernando do enhance the patch for removing the initial characters if they are not valid XML. I think his patch would remove anything from 0 to 7 characters.
Comment 65 Fernando Apesteguía freebsd_committer freebsd_triage 2025-04-04 12:01:09 UTC
(In reply to Dmitry Wagin from comment #62)
Yes, this is funky at least.

Now I installed 2024.3.5 *without* my hack (the one that removes the first characters), and clion works if:

clion64.vmptions is empty
or
clion64.vmoptions contains:
-Didea.suppressed.plugins.set.selector=classic

These scenarios failed before. What I did in between was install/deinstall jetbrains-goland (which worked fine).

So my plan of action here would be to update to 2024.3.5 and add a detailed note in MOVED.

Agreed?
Comment 66 Dmitry Wagin 2025-04-04 17:44:10 UTC
(In reply to Fernando Apesteguía from comment #65)

Good news!

Adding a detailed note is a good idea.
Comment 67 commit-hook freebsd_committer freebsd_triage 2025-04-04 17:56:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3187a20c8aea2ca5d432209dd9bb8cc12fffab2

commit a3187a20c8aea2ca5d432209dd9bb8cc12fffab2
Author:     Dmitry Wagin <dmitry.wagin@ya.ru>
AuthorDate: 2025-04-02 15:26:31 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-04-04 17:55:19 +0000

    devel/jetbrains-clion: Update to 2024.3.5

    ChangeLog: https://youtrack.jetbrains.com/articles/CPP-A-230654386

    PR:             283208
    Reported by:    dmitry.wagin@ya.ru

 UPDATING                        |  19 ++
 devel/jetbrains-clion/Makefile  |  31 +--
 devel/jetbrains-clion/distinfo  |  14 +-
 devel/jetbrains-clion/pkg-plist | 421 ++++++++++++++++++++++++++++++++--------
 4 files changed, 385 insertions(+), 100 deletions(-)
Comment 68 Fernando Apesteguía freebsd_committer freebsd_triage 2025-04-04 17:56:20 UTC
Committed,

THANK YOU ALL FOR YOUR EFFORTS!
Comment 69 Joel Bodenmann freebsd_committer freebsd_triage 2025-04-04 18:18:30 UTC
Thank you guys - much appreciated!