Bug 62653 - Apache JMeter not launching on Windows 7 when using default DarculaLaf LAF
Summary: Apache JMeter not launching on Windows 7 when using default DarculaLaf LAF
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 4.0
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-24 08:05 UTC by Benjamin Kuchcik
Modified: 2020-03-17 19:14 UTC (History)
1 user (show)



Attachments
The log i get when i try to use jmter 4 (33.23 KB, text/plain)
2018-08-24 08:05 UTC, Benjamin Kuchcik
Details
Same issue wiht same log (23.45 KB, text/plain)
2018-08-29 07:44 UTC, Benjamin Kuchcik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Kuchcik 2018-08-24 08:05:29 UTC
Created attachment 36108 [details]
The log i get when i try to use jmter 4

With latest version of Jmeter I get issue when using the application.

The application is launched with success, using jmeter.bat but after launch I can't open any menu, I get an error.

I attach the log I get.

I tried with:
JDK 10 update 2
JDK 8 u 181

I get the same issues.

It works with 3.3 version of jmeter.
Comment 1 Philippe Mouawad 2018-08-25 20:01:19 UTC
1/ Have you installed any 3rd party plugin ?
2/ Can you try reinstalling jmeter 4.0 ?

Note JMeter is not fully tested on JDK 10 so issues could be explained.
We advise to use JDK 8 or JDK9 for 4.0.

So test with JDK 8 and show jmeter.log and content of lib and lib/ext.

Thank you
Comment 2 Benjamin Kuchcik 2018-08-29 07:43:46 UTC
I did it again (new download) same result.

I get the same logs, with jdk 8 and 10.
Comment 3 Benjamin Kuchcik 2018-08-29 07:44:35 UTC
Created attachment 36120 [details]
Same issue wiht same log
Comment 4 Philippe Mouawad 2018-08-29 07:50:38 UTC
(In reply to Benjamin Kuchcik from comment #3)
> Created attachment 36120 [details]
> Same issue wiht same log

Thank you, can you please provide:

- list of files in lib
- list of files in lib/ext
- how are you starting JMeter ? show command line please or file you click on
- where did you download it from ?

Please answer as fast as you can ALL questions above and not part of them.

Thank you
Comment 5 Benjamin Kuchcik 2018-08-29 09:12:50 UTC
(In reply to Philippe Mouawad from comment #4)
> (In reply to Benjamin Kuchcik from comment #3)
> > Created attachment 36120 [details]
> > Same issue wiht same log
> 
> Thank you, can you please provide:
> 
> - list of files in lib
> - list of files in lib/ext
> - how are you starting JMeter ? show command line please or file you click on
> - where did you download it from ?
> 
> Please answer as fast as you can ALL questions above and not part of them.
> 
> Thank you

I did not add any plugin and I downloaded the binaries this morning again.

I launch using jmeter.bat on double clicking on it simply.

I downloaded it from the following url: http://www.mirrorservice.org/sites/ftp.apache.org//jmeter/binaries/apache-jmeter-4.0.zip

The lib files are 
-rw-r--r-- 1 FP11187 1049089   30035 févr.  6  2018 accessors-smart-1.2.jar
-rw-r--r-- 1 FP11187 1049089   95209 févr.  6  2018 asm-6.0.jar
-rw-r--r-- 1 FP11187 1049089  113369 févr.  6  2018 bsf-2.4.0.jar
-rw-r--r-- 1 FP11187 1049089  389033 févr.  6  2018 bsh-2.0b6.jar
-rw-r--r-- 1 FP11187 1049089    8010 févr.  7  2018 bshclient.jar
-rw-r--r-- 1 FP11187 1049089  657368 févr.  6  2018 caffeine-2.6.1.jar
-rw-r--r-- 1 FP11187 1049089  335042 févr.  6  2018 commons-codec-1.11.jar
-rw-r--r-- 1 FP11187 1049089  588337 févr.  6  2018 commons-collections-3.2.2.jar
-rw-r--r-- 1 FP11187 1049089  186655 févr.  6  2018 commons-dbcp2-2.2.0.jar
-rw-r--r-- 1 FP11187 1049089  214788 févr.  6  2018 commons-io-2.6.jar
-rw-r--r-- 1 FP11187 1049089  267634 févr.  6  2018 commons-jexl-2.1.1.jar
-rw-r--r-- 1 FP11187 1049089  397422 févr.  6  2018 commons-jexl3-3.1.jar
-rw-r--r-- 1 FP11187 1049089  499634 févr.  6  2018 commons-lang3-3.7.jar
-rw-r--r-- 1 FP11187 1049089 2213560 févr.  6  2018 commons-math3-3.6.1.jar
-rw-r--r-- 1 FP11187 1049089  307410 févr.  6  2018 commons-net-3.6.jar
-rw-r--r-- 1 FP11187 1049089  128217 févr.  6  2018 commons-pool2-2.5.0.jar
-rw-r--r-- 1 FP11187 1049089  366601 févr.  6  2018 darcula.jar
-rw-r--r-- 1 FP11187 1049089   98115 févr.  6  2018 dec-0.1.2.jar
-rw-r--r-- 1 FP11187 1049089  314639 févr.  6  2018 dnsjava-2.1.8.jar
drwxr-xr-x 1 FP11187 1049089       0 févr.  7  2018 ext/
-rw-r--r-- 1 FP11187 1049089 1350624 févr.  6  2018 freemarker-2.3.23.jar
-rw-r--r-- 1 FP11187 1049089   32359 févr.  6  2018 geronimo-jms_1.1_spec-1.1.1.jar
-rw-r--r-- 1 FP11187 1049089 7042128 févr.  6  2018 groovy-all-2.4.13.jar
-rw-r--r-- 1 FP11187 1049089   45024 févr.  6  2018 hamcrest-core-1.3.jar
-rw-r--r-- 1 FP11187 1049089   64799 févr.  6  2018 hamcrest-date-2.0.4.jar
-rw-r--r-- 1 FP11187 1049089  179335 févr.  6  2018 httpasyncclient-4.1.3.jar
-rw-r--r-- 1 FP11187 1049089  766123 févr.  6  2018 httpclient-4.5.5.jar
-rw-r--r-- 1 FP11187 1049089  325500 févr.  6  2018 httpcore-4.4.9.jar
-rw-r--r-- 1 FP11187 1049089  364991 févr.  6  2018 httpcore-nio-4.4.9.jar
-rw-r--r-- 1 FP11187 1049089   41753 févr.  6  2018 httpmime-4.5.5.jar
-rw-r--r-- 1 FP11187 1049089  142391 févr.  6  2018 jcharts-0.7.5.jar
-rw-r--r-- 1 FP11187 1049089   16515 févr.  6  2018 jcl-over-slf4j-1.7.25.jar
-rw-r--r-- 1 FP11187 1049089  432246 févr.  6  2018 jodd-core-4.1.4.jar
-rw-r--r-- 1 FP11187 1049089  220120 févr.  6  2018 jodd-lagarto-4.1.4.jar
-rw-r--r-- 1 FP11187 1049089   19854 févr.  6  2018 jodd-log-4.1.4.jar
-rw-r--r-- 1 FP11187 1049089   26083 févr.  6  2018 jodd-props-4.1.4.jar
-rw-r--r-- 1 FP11187 1049089  142944 févr.  7  2018 jorphan.jar
-rw-r--r-- 1 FP11187 1049089  223186 févr.  6  2018 json-path-2.4.0.jar
-rw-r--r-- 1 FP11187 1049089  120316 févr.  6  2018 json-smart-2.3.jar
-rw-r--r-- 1 FP11187 1049089  392351 févr.  6  2018 jsoup-1.11.2.jar
-rw-r--r-- 1 FP11187 1049089  249924 févr.  6  2018 jtidy-r938.jar
drwxr-xr-x 1 FP11187 1049089       0 févr.  6  2018 junit/
-rw-r--r-- 1 FP11187 1049089  314932 févr.  6  2018 junit-4.12.jar
-rw-r--r-- 1 FP11187 1049089   63835 févr.  6  2018 log4j-1.2-api-2.10.0.jar
-rw-r--r-- 1 FP11187 1049089  255485 févr.  6  2018 log4j-api-2.10.0.jar
-rw-r--r-- 1 FP11187 1049089 1597622 févr.  6  2018 log4j-core-2.10.0.jar
-rw-r--r-- 1 FP11187 1049089   24173 févr.  6  2018 log4j-slf4j-impl-2.10.0.jar
-rw-r--r-- 1 FP11187 1049089  519087 févr.  6  2018 mail-1.5.0-b01.jar
-rw-r--r-- 1 FP11187 1049089  419054 févr.  6  2018 mongo-java-driver-2.11.3.jar
-rw-r--r-- 1 FP11187 1049089   65261 févr.  6  2018 oro-2.0.8.jar
-rw-r--r-- 1 FP11187 1049089 1269316 févr.  6  2018 ph-commons-9.0.0.jar
-rw-r--r-- 1 FP11187 1049089  505026 févr.  6  2018 ph-css-6.0.0.jar
-rw-r--r-- 1 FP11187 1049089 1237403 févr.  6  2018 rhino-1.7.7.2.jar
-rw-r--r-- 1 FP11187 1049089 1155639 févr.  6  2018 rsyntaxtextarea-2.6.1.jar
-rw-r--r-- 1 FP11187 1049089  276420 févr.  6  2018 serializer-2.7.2.jar
-rw-r--r-- 1 FP11187 1049089   41203 févr.  6  2018 slf4j-api-1.7.25.jar
-rw-r--r-- 1 FP11187 1049089   42377 févr.  6  2018 slf4j-ext-1.7.25.jar
-rw-r--r-- 1 FP11187 1049089  663109 févr.  6  2018 tika-core-1.17.jar
-rw-r--r-- 1 FP11187 1049089 1078626 févr.  6  2018 tika-parsers-1.17.jar
-rw-r--r-- 1 FP11187 1049089 3154938 févr.  6  2018 xalan-2.7.2.jar
-rw-r--r-- 1 FP11187 1049089 1367760 févr.  6  2018 xercesImpl-2.11.0.jar
-rw-r--r-- 1 FP11187 1049089  220536 févr.  6  2018 xml-apis-1.4.01.jar
-rw-r--r-- 1 FP11187 1049089  646509 févr.  6  2018 xmlgraphics-commons-2.2.jar
-rw-r--r-- 1 FP11187 1049089    7188 févr.  6  2018 xmlpull-1.1.3.1.jar
-rw-r--r-- 1 FP11187 1049089   24956 févr.  6  2018 xpp3_min-1.1.4c.jar
-rw-r--r-- 1 FP11187 1049089  589803 févr.  6  2018 xstream-1.4.10.jar

The ext/lib files are:
-rw-r--r-- 1 FP11187 1049089  659164 févr.  7  2018 ApacheJMeter_components.jar
-rw-r--r-- 1 FP11187 1049089 1567379 févr.  7  2018 ApacheJMeter_core.jar
-rw-r--r-- 1 FP11187 1049089   15100 févr.  7  2018 ApacheJMeter_ftp.jar
-rw-r--r-- 1 FP11187 1049089  113112 févr.  7  2018 ApacheJMeter_functions.jar
-rw-r--r-- 1 FP11187 1049089  452873 févr.  7  2018 ApacheJMeter_http.jar
-rw-r--r-- 1 FP11187 1049089   43541 févr.  7  2018 ApacheJMeter_java.jar
-rw-r--r-- 1 FP11187 1049089   54589 févr.  7  2018 ApacheJMeter_jdbc.jar
-rw-r--r-- 1 FP11187 1049089   96545 févr.  7  2018 ApacheJMeter_jms.jar
-rw-r--r-- 1 FP11187 1049089   22161 févr.  7  2018 ApacheJMeter_junit.jar
-rw-r--r-- 1 FP11187 1049089   48278 févr.  7  2018 ApacheJMeter_ldap.jar
-rw-r--r-- 1 FP11187 1049089   58496 févr.  7  2018 ApacheJMeter_mail.jar
-rw-r--r-- 1 FP11187 1049089   26117 févr.  7  2018 ApacheJMeter_mongodb.jar
-rw-r--r-- 1 FP11187 1049089   13935 févr.  7  2018 ApacheJMeter_native.jar
-rw-r--r-- 1 FP11187 1049089   30214 févr.  7  2018 ApacheJMeter_tcp.jar
-rw-r--r-- 1 FP11187 1049089     106 févr.  6  2018 readme.txt
Comment 6 Felix Schumacher 2018-08-29 19:27:21 UTC
The Stacktraces look like an incarnation of https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6342301

Try to use another look & feel by setting the property jmeter.laf to something different (probably in bin/user.properties) [more info at http://jmeter.apache.org/usermanual/properties_reference.html#laf_config]
Comment 7 Philippe Mouawad 2018-09-02 13:52:18 UTC
I tried on a Windows 7 Pro and with last jdk 8 and I don't reproduce your issue with default LAF.

Are you using some particular display ?
Are you using some Citrix or VDI client ?

Thank you
Comment 8 Benjamin Kuchcik 2018-09-03 12:05:32 UTC
I don't think I have custom display on my os (but it's probably a very large question).

Changing the laf using the following property in user.properties works on my station:
jmeter.laf.windows=com.sun.java.swing.plaf.windows.WindowsLookAndFeel

So it seems to be related with the default laf.
Comment 9 UbikLoadPack support 2018-09-03 12:18:12 UTC
(In reply to Benjamin Kuchcik from comment #8)
> I don't think I have custom display on my os (but it's probably a very large
> question).
> 
> Changing the laf using the following property in user.properties works on my
> station:
> jmeter.laf.windows=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
> 
> So it seems to be related with the default laf.

Can you try settings this in user.properties:

jmeter.laf.windows=com.bulenkov.darcula.DarculaLaf

And provide :
- exact version of your Windows os

Thanks
Comment 10 Benjamin Kuchcik 2018-09-03 12:38:13 UTC
I get the issue with DraculaLaf in user.properties. I restored Windows laf.

My version is:
6.1 => SP1
Comment 11 Philippe Mouawad 2019-03-03 13:37:02 UTC
Should we default to another LAF on certain configurations ?

os.version=6.1
os.name=Windows
Comment 12 Graham Russell 2019-09-27 11:46:07 UTC
Is this still an issue? Does using the latest Java 8 (or later) fix this issue?

I don't think we should introduce a different default based on OS as this would cause more confusion and maintenance, we should document the fix though if it's still reproducible (maybe a StackOverflow question?).
Comment 13 Vladimir Sitnikov 2020-03-17 19:14:25 UTC
The issue does not seem to be relevant to Darcula.

However, it looks like it would be eliminated if 64236 is resolved.
Comment 14 The ASF infrastructure team 2022-09-24 20:38:14 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4847