Error on opening a jmx file , only able to open from recent.

194 views
Skip to first unread message

Jasleen Kaur

unread,
Jan 4, 2022, 10:53:01 PM1/4/22
to jmeter-plugins
Error on opening a jmx file , only able to open from recent.

I am using mac
 java -version

openjdk 17.0.1 2021-10-19

OpenJDK Runtime Environment (build 17.0.1+12-39)

OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)


Jmeter 5

Error:

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





DT

unread,
Jan 5, 2022, 1:25:00 AM1/5/22
to jmeter-plugins
This question doesn't have anything to do with JMeter Plugins, going forward use i.e. JMeter Forum for any JMeter-related queries

Coming back to your question, you're suffering from JMeter Bug 65300, the workarounds are in:

  1. Use different Look and Feel (from Options -> Look and Feel), avoid using "Darklaf" ones
  2. Downgrade to Java 8, it's minimum JDK version required to run JMeter 5.4 
  3. Download nightly build of JMeter, there is a chance that the issue is fixed there
  4. Change line 112 of jmeter.bat startup script to look like:
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

gurram karthik

unread,
Jan 5, 2022, 2:34:35 AM1/5/22
to jmeter-...@googlegroups.com
Hi   
       Madam my name is karthik why is you send me maill but i don"t know j meter 0 percent knowledge 
 

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jmeter-plugins/ed4b2cc0-a95b-4fcd-8ee1-09600478e001n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages