swingbench-public icon indicating copy to clipboard operation
swingbench-public copied to clipboard

Java Error using report2pdf

Open aledjones72 opened this issue 4 years ago • 3 comments

Created a basic benchmark, SOE. Saved out the output XML, Tried to use report2pdf and it produces the following error.

./results2pdf -c results1.xml

Application : Results2Pdf Author : Dominic Giles Version : 2.6.0.1137 java.lang.reflect.InvocationTargetException 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:498) at org.apache.commons.launcher.ChildMain.run(ChildMain.java:228) Caused by: java.lang.NoClassDefFoundError: javafx/scene/paint/Color at com.dom.benchmarking.swingbench.results.ParseResults.createTPSAreaChart(ParseResults.java:354) at com.dom.benchmarking.swingbench.results.ParseResults.(ParseResults.java:209) at com.dom.benchmarking.swingbench.results.ParseResults.main(ParseResults.java:527) ... 5 more Caused by: java.lang.ClassNotFoundException: javafx.scene.paint.Color at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 8 more

aledjones72 avatar Sep 16 '20 20:09 aledjones72

i've got the same problem, does anyone know how to fix it?

isaacren avatar Oct 14 '20 03:10 isaacren

i've got the same problem, does anyone know how to fix it?

PredeeNTNX avatar Jan 27 '21 17:01 PredeeNTNX

Are you trying to run this on Windows or Mac? Those are the only platforms that the Java libraries are supported at present.

domgiles avatar Jan 20 '22 12:01 domgiles