You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2021/08/10 22:24:47 UTC

[Bug 65495] New: Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

https://bz.apache.org/bugzilla/show_bug.cgi?id=65495

            Bug ID: 65495
           Summary: Uncaught Exception java.lang.NoClassDefFoundError:
                    Could not initialize class
                    org.apache.jmeter.gui.util.FileDialoger in thread
                    Thread[AWT-EventQueue-0,6,main]. See log file for
                    details.
           Product: JMeter
           Version: 5.4.1
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: gabriel.kim@sage.com
  Target Milestone: JMETER_5.5

Hi,

When I click open icon on the GUI or go File > Open, it gives me:

$ brew install jmeter
==> Downloading https://ghcr.io/v2/homebrew/core/openjdk/manifests/16.0.2
######################################################################## 100.0%
==> Downloading
https://ghcr.io/v2/homebrew/core/openjdk/blobs/sha256:71fe0d7fb0120bb7fdb011cb9ecb107413920f97eb54f53770649f63c9780a56
==> Downloading from
https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:71fe0d7fb0120bb7fdb011cb9ecb107413920f97eb54f5377064
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jmeter/manifests/5.4.1
######################################################################## 100.0%
==> Downloading
https://ghcr.io/v2/homebrew/core/jmeter/blobs/sha256:d7aba96b31d80733d0e1cb760411465fd5d27780579c66f8218186c8bd412149
==> Downloading from
https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d7aba96b31d80733d0e1cb760411465fd5d27780579c66f82181
######################################################################## 100.0%
==> Installing dependencies for jmeter: openjdk
==> Installing jmeter dependency: openjdk
==> Pouring openjdk--16.0.2.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/openjdk/16.0.2: 646 files, 330.2MB
==> Installing jmeter
==> Pouring jmeter--5.4.1.catalina.bottle.tar.gz
🍺  /usr/local/Cellar/jmeter/5.4.1: 2,643 files, 124.4MB
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /Users/gabriel.kim/Library/Caches/Homebrew/git--2.31.1... (15MB)
Removing: /Users/gabriel.kim/Library/Caches/Homebrew/pcre2--10.36... (2.0MB)
Removing: /Users/gabriel.kim/Library/Logs/Homebrew/tree... (64B)
Removing: /Users/gabriel.kim/Library/Logs/Homebrew/gettext... (64B)
Removing: /Users/gabriel.kim/Library/Logs/Homebrew/pcre2... (64B)
Removing: /Users/gabriel.kim/Library/Logs/Homebrew/git... (64B)
Pruned 1 symbolic links from /usr/local
$ jmeter
WARNING: package sun.awt.X11 not in java.desktop
================================================================================
Don't use GUI mode for load testing !, only for Test creation and Test
debugging.
For load testing, use CLI Mode (was NON GUI):
   jmeter -n -t [jmx file] -l [results file] -e -o [Path to web report folder]
& increase Java Heap to meet your test requirements:
   Modify current env variable HEAP="-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m"
in the jmeter batch file
Check : https://jmeter.apache.org/usermanual/best-practices.html
================================================================================
2021-08-10 14:05:13.118 java[10646:4441126] Persistent UI failed to open file
file:///Users/gabriel.kim/Library/Saved%20Application%20State/net.java.openjdk.java.savedState/window_1.data:
No such file or directory (2)
Uncaught Exception java.lang.IllegalAccessError: class
com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel
(in unnamed module @0x157632c9) cannot access class sun.awt.shell.ShellFolder
(in module java.desktop) because module java.desktop does not export
sun.awt.shell to unnamed module @0x157632c9 in thread
Thread[AWT-EventQueue-0,6,main]. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class
org.apache.jmeter.gui.util.FileDialoger in thread
Thread[AWT-EventQueue-0,6,main]. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class
org.apache.jmeter.gui.util.FileDialoger in thread
Thread[AWT-EventQueue-0,6,main]. See log file for details.
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class
org.apache.jmeter.gui.util.FileDialoger in thread
Thread[AWT-EventQueue-0,6,main]. See log file for details.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 65495] Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65495

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---


*** This bug has been marked as a duplicate of bug 65300 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.