Not able to click on open in jmeter

1,764 views
Skip to first unread message

Shikhar Mishra

unread,
Jun 25, 2021, 1:39:19 AM6/25/21
to jmeter-plugins
When clicking on open, it is giving following error:

Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0x1460a8c0) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0x1460a8c0 in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

Java version:
java version "16.0.1" 2021-04-20
Java(TM) SE Runtime Environment (build 16.0.1+9-24)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

DT

unread,
Jun 25, 2021, 2:38:55 AM6/25/21
to jmeter-plugins
Your query is not connected to JMeter Plugins by any means, going forward please look for help on JMeter issues at JMeter Forum

Coming back to your issue, it sounds like a JMeter Bug 65300 so you have the following options:

  1. Downgrade your JRE to Java 8, it's the minimum sufficient version to run JMeter 5.4
  2. Upgrade your JMeter to a nightly build
  3. Replace line 112 of the jmeter.bat startup script with the following one:
set JAVA9_OPTS=--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.swing=ALL-UNNAMED --add-opens java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens java.desktop/java.awt=ALL-UNNAMED --add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED
Reply all
Reply to author
Forward
Message has been deleted
0 new messages