Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FATAL - jmeter.JMeter: An error occurred: java.awt.HeadlessException #3686

Closed
asfimport opened this issue Nov 1, 2015 · 1 comment
Closed

Comments

@asfimport
Copy link
Collaborator

Anish (Bug 58569):
Hi

I am trying to run jmeter-2.13 in my Fedora 22. I have already installed Oracle java and have configure in jmeter.sh to look at it.

cat jmeter.sh
JAVA_HOME=/usr/java/jdk1.8.0_45
export JAVA_HOME

When I open jmeter in a terminal, I get

[anishjp@fedora22 bin]$ ./jmeter
An error occurred: null
[anishjp@fedora22 bin]$ cat jmeter.log
2015/11/01 19:51:19 INFO - jmeter.util.JMeterUtils: Setting Locale to en_ZA
2015/11/01 19:51:19 INFO - jmeter.JMeter: Loading user properties from: /home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin/user.properties
2015/11/01 19:51:19 INFO - jmeter.JMeter: Loading system properties from: /home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin/system.properties
2015/11/01 19:51:19 INFO - jmeter.JMeter: Copyright (c) 1998-2015 The Apache Software Foundation
2015/11/01 19:51:19 INFO - jmeter.JMeter: Version 2.13 r1665067
2015/11/01 19:51:19 INFO - jmeter.JMeter: java.version=1.8.0_60
2015/11/01 19:51:19 INFO - jmeter.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2015/11/01 19:51:19 INFO - jmeter.JMeter: os.name=Linux
2015/11/01 19:51:19 INFO - jmeter.JMeter: os.arch=amd64
2015/11/01 19:51:19 INFO - jmeter.JMeter: os.version=4.1.7-200.fc22.x86_64
2015/11/01 19:51:19 INFO - jmeter.JMeter: file.encoding=UTF-8
2015/11/01 19:51:19 INFO - jmeter.JMeter: Default Locale=English (South Africa)
2015/11/01 19:51:19 INFO - jmeter.JMeter: JMeter Locale=English (South Africa)
2015/11/01 19:51:19 INFO - jmeter.JMeter: JMeterHome=/home/anishjp/Documents/Jmeter/apache-jmeter-2.13
2015/11/01 19:51:19 INFO - jmeter.JMeter: user.dir =/home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin
2015/11/01 19:51:19 INFO - jmeter.JMeter: PWD =/home/anishjp/Documents/Jmeter/apache-jmeter-2.13/bin
2015/11/01 19:51:19 INFO - jmeter.JMeter: IP: 10.204.32.132 Name: fedora22.desktop FullName: fedora22.desktop
2015/11/01 19:51:20 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System]
2015/11/01 19:51:20 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2015/11/01 19:51:20 WARN - jmeter.gui.action.ActionRouter: java.awt.HeadlessException
2015/11/01 19:51:20 FATAL - jmeter.JMeter: An error occurred: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at javax.swing.JFrame.<init>(JFrame.java:189)
at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:190)
at org.apache.jmeter.JMeter.startGui(JMeter.java:242)
at org.apache.jmeter.JMeter.start(JMeter.java:385)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.jmeter.NewDriver.main(NewDriver.java:264)

My DISPLAY env also looks fine.

[anishjp@fedora22 bin]$ echo $DISPLAY
localhost:0
[anishjp@fedora22 bin]$

What could be wrong?

Severity: normal
OS: Linux

@asfimport
Copy link
Collaborator Author

@milamberspace (migrated from Bugzilla):

Please move your question on the user mailing list. Bugzilla isn't a support forum.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant