https://bz.apache.org/bugzilla/show_bug.cgi?id=65919
Bug ID: 65919
Summary: File browser does not open
Product: JMeter
Version: 5.4.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.5
I'm running JMeter under Java 17. I've noticed, though, that any time I attempt
to open the File Dialog, I get an error. Examples include opening a JMX file,
specifying a parameters file, and adding a directory or jar to the class path.
Here is the output of java -version
java version "17" 2021-09-14 LTS
Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)
Here is the output from the CMD window:
Uncaught Exception java.lang.IllegalAccessError: class
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel
(in unnamed module @0x7c417213) cannot access class sun.awt.shell.ShellFolder
(in module java.desktop) because module java.desktop does not export
sun.awt.shell to unnamed module @0x7c417213 in thread
Thread[AWT-EventQueue-0,6,main]. See log file for details.
Here is the output from the Log Viewer panel:
2022-02-25 15:25:19,487 INFO o.j.r.JARSourceHTTP: Found cached repo
2022-02-25 15:25:19,690 INFO o.j.r.PluginManager: Plugins Status:
[jpgc-graphs-basic=2.0, jpgc-functions=2.1, jpgc-casutg=2.10, jpgc-dummy=0.4,
jpgc-ffw=2.0, jpgc-fifo=0.2, jpgc-perfmon=2.1, jpgc-plugins-manager=1.7,
jpgc-tst=2.5, jmeter-core=5.4.1, jmeter-ftp=5.4.1, jmeter-http=5.4.1,
jmeter-jdbc=5.4.1, jmeter-jms=5.4.1, jmeter-junit=5.4.1, jmeter-java=5.4.1,
jmeter-ldap=5.4.1, jmeter-mail=5.4.1, jmeter-mongodb=5.4.1,
jmeter-native=5.4.1, jmeter-tcp=5.4.1, jmeter-components=5.4.1,
jpgc-standard=2.0]
2022-02-25 15:25:29,266 ERROR o.a.j.JMeter: Uncaught exception in thread
Thread[AWT-EventQueue-0,6,main]
java.lang.IllegalAccessError: class
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel
(in unnamed module @0x7c417213) cannot access class sun.awt.shell.ShellFolder
(in module java.desktop) because module java.desktop does not export
sun.awt.shell to unnamed module @0x7c417213
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel.updateColumnInfo(DarkFilePaneUIBridge.java:1128)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel.<init>(DarkFilePaneUIBridge.java:1115)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge.getDetailsTableModel(DarkFilePaneUIBridge.java:576)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$SortableListModel.<init>(DarkFilePaneUIBridge.java:1079)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePane.createList(DarkFilePane.java:137)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFileChooserUIBridge.createList(DarkFileChooserUIBridge.java:585)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFileChooserUIBridge$MetalFileChooserUIAccessor.createList(DarkFileChooserUIBridge.java:750)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge.setViewType(DarkFilePaneUIBridge.java:376)
~[darklaf-core-2.5.4.jar:2.5.4]
at
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge.propertyChange(DarkFilePaneUIBridge.java:890)
~[darklaf-core-2.5.4.jar:2.5.4]
at
java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343) ~[?:?]
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
~[?:?]
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
~[?:?]
at java.awt.Component.firePropertyChange(Component.java:8722) ~[?:?]
at javax.swing.JComponent.setUI(JComponent.java:733) ~[?:?]
at javax.swing.JFileChooser.updateUI(JFileChooser.java:1839) ~[?:?]
at javax.swing.JFileChooser.setup(JFileChooser.java:396) ~[?:?]
at javax.swing.JFileChooser.<init>(JFileChooser.java:362) ~[?:?]
at javax.swing.JFileChooser.<init>(JFileChooser.java:309) ~[?:?]
at
org.apache.jmeter.gui.util.FileDialoger.<clinit>(FileDialoger.java:42)
~[ApacheJMeter_core.jar:5.4.1]
at org.apache.jmeter.gui.action.Load.doActionAfterCheck(Load.java:75)
~[ApacheJMeter_core.jar:5.4.1]
at
org.apache.jmeter.gui.action.AbstractActionWithNoRunningTest.doAction(AbstractActionWithNoRunningTest.java:44)
~[ApacheJMeter_core.jar:5.4.1]
at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:87)
~[ApacheJMeter_core.jar:5.4.1]
at
org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:69)
~[ApacheJMeter_core.jar:5.4.1]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
~[?:?]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:722) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:716) ~[?:?]
at
java.security.AccessController.doPrivileged(AccessController.java:399) ~[?:?]
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
~[?:?]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:741) ~[?:?]
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
[?:?]
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
[?:?]
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
[?:?]
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
--
You are receiving this mail because:
You are the assignee for the bug.