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

View Results Tree: Browser view option is not Available with Java 11, document how to make it available #5050

Closed
asfimport opened this issue Apr 16, 2019 · 5 comments

Comments

@asfimport
Copy link
Collaborator

RuThaNiel van den Naar (Bug 63355):
Hello,
i wonder why in Jmeter 5.0 on Windows Server 2016 is not available View Results Tree Browser view option, on all other my Windows 7 / Windows 10 machines its working fine.

I tried same Java version, install some browsers etc.. Its not avaible, i didnt find some any information about this in documentation, or online.

OS: All

@asfimport
Copy link
Collaborator Author

@FSchumacher (migrated from Bugzilla):
Have you looked in the log panel for errors?

Most likely it is not the same Java version that you are using. The Browser View uses JavaFX, which is available -- by default -- only in Oracle Java 8.

@asfimport
Copy link
Collaborator Author

RuThaNiel van den Naar (migrated from Bugzilla):
Right after plain Jmeter start without opening any test plan there is this error:
2019-04-16 18:04:44,235 WARN o.a.j.v.ViewResultsFullVisualizer: Error loading result renderer: org.apache.jmeter.visualizers.RenderInBrowser
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:315) ~[?:?]
at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.createComboRender(ViewResultsFullVisualizer.java:462) [ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.createLeftPanel(ViewResultsFullVisualizer.java:430) [ApacheJMeter_components.jar:5.0 r1840935]

Java is 11:
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)

You are right i though that on local machine i was using same version, but im using Java 8:

C:\Users\RuThaN>java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

So its bug, i have to downgraded Java?

@asfimport
Copy link
Collaborator Author

@FSchumacher (migrated from Bugzilla):
You either have to downgrade to a Oracle Java -- which includes JavaFX, or you try to integrate JavaFX into a newer Java version. openjfx.io claims to have JavaFX versions for newer Java versions.

If you get it to work, it would be nice, if you could do a write up of the steps necessary.

@asfimport
Copy link
Collaborator Author

RuThaNiel van den Naar (migrated from Bugzilla):
After downgrade of Java to 8, its working.

@asfimport
Copy link
Collaborator Author

@pmouawad (migrated from Bugzilla):
Fixed by:

1c2bb65

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