domgiles / swingbench-public

Public repository for swingbench to support the creation of issues and a location to download latest builds
73 stars 20 forks source link

Java Error using report2pdf #6

Open aledjones72 opened 4 years ago

aledjones72 commented 4 years ago

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

isaacren commented 4 years ago

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

PredeeNTNX commented 3 years ago

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

domgiles commented 2 years ago

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