jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anish Philip <anis...@gmail.com>
Subject Re: FATAL - jmeter.JMeter: An error occurred: java.awt.HeadlessException
Date Mon, 02 Nov 2015 09:30:22 GMT
Hi Sergio

Thanks for your reply. Will try with -n option. Fedora has been porting
from X11 to Wayland. Does jmeter has plans to support Wayland in future?

Regards,
Anish

On Mon, Nov 2, 2015 at 8:33 AM, Sergio Boso <sergio@bosoconsulting.it>
wrote:

> Hi
> it looks like you tried to start the GUI on a system without X - windows .
> Try using the -n option.
>
> Sergio Boso
> cell. 335 7243 445
> Il 02/Nov/2015 06:37, "Anish Philip" <anishjp@gmail.com> ha scritto:
>
> > Hi guys
> >
> > 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
> > <https://svn.apache.org/viewvc?view=rev&rev=1665067>
> > 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? Any advice would be highly appreciated!
> >
> > Regards,
> >
> > Anish
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message