'Jmeter 5.4.3: Exception when file open is clicked: File>open
Downloaded latest apache-jmeter-5.4.3 Click on File > Open
exception found in the command and logs:
Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0x327b636c) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0x327b636c in thread Thread[AWT-EventQueue-0,6,main]. java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel
java version "17.0.2" 2022-01-18 LTS windows 11
Solution 1:[1]
It's a bug in JMeter use one of the following workarounds:
Change "Look and Feel" to something which doesn't contain
DarklafAdd the next line to user.properties file (lives in "bin" folder of your JMeter installation)
jmeter.laf=CrossPlatformDowngrade to Java 8
Try Nightly Build of JMeter
Add
--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMEDto this line ofjmeter.batstartup script
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dmitri T |

