JMeter: Why get error when try to save test plan

Andrew :
Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger. See log file for details.

I installed apache-jmeter-5.1.1 and java 1.8.0_221 (8), and was walking through the getting started guide to build a web test plan in the GUI. But when I click save to save the Test Plan I receive the above error.

Full Output in debugger:

2019-07-24 15:30:13,306 ERROR o.a.j.JMeter: Uncaught exception: 
java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger
    at org.apache.jmeter.gui.action.Save.computeFileName(Save.java:203) ~[ApacheJMeter_core.jar:5.1.1 r1855137]
    at org.apache.jmeter.gui.action.Save.doAction(Save.java:165) ~[ApacheJMeter_core.jar:5.1.1 r1855137]
    at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88) ~[ApacheJMeter_core.jar:5.1.1 r1855137]
    at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:70) ~[ApacheJMeter_core.jar:5.1.1 r1855137]
    at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[?:1.8.0_221]
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:1.8.0_221]
    at java.awt.EventQueue.access$500(Unknown Source) ~[?:1.8.0_221]
    at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_221]
    at java.awt.EventQueue$3.run(Unknown Source) ~[?:1.8.0_221]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_221]
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) ~[?:1.8.0_221]
    at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:1.8.0_221]
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_221]
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_221]
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_221]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_221]
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_221]
    at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_221]

Any idea how to resolve?

Sajan Jacob K :

Try the following:

  1. Open JMeter -> Options -> Look and Feel -> Select any other theme other than Darcula.
  2. Restart JMeter, Create test plan and try to save.
  3. Save should work.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Why does audio.buffered.end(0) get an error message when I try to get buffered time

Why do I get an error for "__CrtGetFileInformationByHandleEx " when I try to compile

JMeter error when generating dashboard at end of test

Why I get error when I try to create stored procedure?

JMeter is not showing any results when running a test plan

JMeter Save Result when Test already finished

Jmeter : Error when I try to get data from Database using beanshell assertion

Why I get error when try append element to document?

Why Do I get an error when I try to get tkinter slider value?

Why I am getting an error when i try to save form into quiz model with entity framework?

Trying to generate JMeter Test Plan (jmx) With JMeter API : Not able to save CSVDataSet element

Why I get Unpermitted parameters error when I try to save with HABTM check_box_tag?

Getting an error from the application when recording a Jmeter test plan

JMeter - Error when starting test plan- keytool error: proxysever.jks (access is denied)

Error on jest when I try to run the test

BeanInstantiationException Error when try to save Artist Entity

Structuring JMeter Test Plan

Why is there an error “invalid data input” when I try to test a successfully deployed ML model?

Why do I get a NoClassDefFound error when I try to save my test plan?

Why I get error when I try to install pyaudio?

When I try verify test purchase product - got error 410 ? Purchase.product get

Why I get error when I try to declare local variable?

Why I get an error when I try to upload a picture

Why do I get an error when I try to save mongoose model?

Why do I get error when try to convert Carbon to DateTime?

Why I get error when try build image in docker?

Get error when run WebDriver Sampler in jmeter

I get an error while using jmeter SaveService.saveTree to save the test as jmx file

How to design this test plan in JMeter