Unable to update to CLion 2021.2 because of "UnsatisfiedLinkError"
Answered
I am currently using CLion version 2020.2 on a CentOS7 machine, and would like to update to the most recent patch, 2021.2.
However, on attempting the update in the usual manner, it fails at the preparation stage, causing an error to pop up and the update to be cancelled. The specific error in the idea_updater.log file is:
12/08 15:12:03 INFO Runner.install - Unpacking CL-202.8194.17-203.5981.166-patch-jbr11-unix.jar
12/08 15:12:03 ERROR Runner.install - prepare failed
java.lang.UnsatisfiedLinkError: 'int sun.nio.fs.LinuxNativeDispatcher.getmntent(long, sun.nio.fs.UnixMountEntry)'
at java.base/sun.nio.fs.LinuxNativeDispatcher.getmntent(Native Method)
at java.base/sun.nio.fs.LinuxFileSystem.getMountEntries(LinuxFileSystem.java:85)
at java.base/sun.nio.fs.LinuxFileStore.findMountEntry(LinuxFileStore.java:75)
at java.base/sun.nio.fs.UnixFileStore.<init>(UnixFileStore.java:67)
at java.base/sun.nio.fs.LinuxFileStore.<init>(LinuxFileStore.java:49)
at java.base/sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:51)
at java.base/sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:39)
at java.base/sun.nio.fs.UnixFileSystemProvider.getFileStore(UnixFileSystemProvider.java:369)
at java.base/java.nio.file.Files.getFileStore(Files.java:1487)
at com.intellij.updater.Utils.getTempFile(Utils.java:43)
at com.intellij.updater.Runner.install(Runner.java:461)
at com.intellij.updater.Runner._main(Runner.java:206)
at com.intellij.updater.Runner.main(Runner.java:48)
I have tried multiple times over many months to get this to work, with the same error message. I got this message not just with the most recent patch, but all patches that were recommended for me to update to after 2020.2 (e.g. 2021.1).
Please sign in to leave a comment.
Please report at https://youtrack.jetbrains.com/newIssue?project=IDEA. Make sure to attach the complete idea.log and updater log files per https://intellij-support.jetbrains.com/hc/en-us/articles/4402159302802-Reporting-incremental-patch-updates-problems.