Hi, NetBeans people. I have successfully managed to compile and run the Apache NetBeans from the sources at https://github.com/apache/incubator-netbeans using "ant" and "ant tryme".
Now I'm trying to run the tests by running "ant test". Eventually, the command hangs after the stack trace pasted below, with the error "Error initializing QuantumRenderer: no suitable pipeline found". It seems to be JavaFX-related. It happens on both MacOS and Windows. I'm using Java 1.8.0_172 to build and test NetBeans here. Does anyone know how to fix this? And on a more general note, are there instructions for running the test suite somewhere? I assume this QuantumRenderer thing might be just one of many things that are going to fail if my environment is not correctly set up for testing... Thanks! -- Eirik -do-testng: [testng] [TestNG] Running: [testng] org.netbeans.api.htmlui [testng] [testng] Graphics Device initialization failed for : es2, sw [testng] Error initializing QuantumRenderer: no suitable pipeline found [testng] java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found [testng] at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(Unknown Source) [testng] at com.sun.javafx.tk.quantum.QuantumToolkit.init(Unknown Source) [testng] at com.sun.javafx.tk.Toolkit.getToolkit(Unknown Source) [testng] at com.sun.javafx.application.PlatformImpl.startup(Unknown Source) [testng] at javafx.embed.swing.JFXPanel.initFx(Unknown Source) [testng] at javafx.embed.swing.JFXPanel.<init>(Unknown Source) [testng] at org.netbeans.modules.htmlui.ComponentsTest.loadFX(ComponentsTest.java:61) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [testng] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:6 2) [testng] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:43) [testng] at java.lang.reflect.Method.invoke(Method.java:498) [testng] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHel per.java:84) [testng] at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) [testng] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) [testng] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) [testng] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.jav a:127) [testng] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) [testng] at org.testng.TestRunner.privateRun(TestRunner.java:767) [testng] at org.testng.TestRunner.run(TestRunner.java:617) [testng] at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) [testng] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) [testng] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) [testng] at org.testng.SuiteRunner.run(SuiteRunner.java:240) [testng] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) [testng] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) [testng] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) [testng] at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) [testng] at org.testng.TestNG.run(TestNG.java:1057) [testng] at org.testng.TestNG.privateMain(TestNG.java:1364) [testng] at org.testng.TestNG.main(TestNG.java:1333) [testng] Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found [testng] at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(Unknown Source) [testng] at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(Unknown Source) [testng] at java.lang.Thread.run(Thread.java:745) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
