AbstractMethodError com.sun.glass.ui.Timer._resume(J)V launching jBrowserDriver on Ubuntu 16.04

183 views
Skip to first unread message

Jeff

unread,
Sep 19, 2019, 6:52:29 PM9/19/19
to Selenium Users
I posted this issue on the JBrowser GitHub project at https://github.com/MachinePublishers/jBrowserDriver/issues/353 but I'm stuck and need some other things to try.

Our Ubuntu 16.04 VMs that are running these tests don't have an X server running, just the standard console.  I'm using Oracle Java 1.8.0u212 that is supposed to have JavaFX bundled and for good measure I've installed openjfx and openjdk 8.  I've also explicitly installed libgtk2.0-bin and using JBrowserDriver v1.0.1.

As of now when I attempt to launch a jBrowserDriver instance the exception below is thrown and the process hangs.  Does anyone have any suggestions as to what I can try/look at next?  It's driving me crazy because I had it working a few weeks ago, but I don't know what changed.

[2019-09-19T22:01:04.340][Instance 1][Port 35050] Prism pipeline init order: sw
[2019-09-19T22:01:04.341][Instance 1][Port 35050] Using java-based Pisces rasterizer
[2019-09-19T22:01:04.341][Instance 1][Port 35050] Not using dirty region optimizations
[2019-09-19T22:01:04.341][Instance 1][Port 35050] Not using texture mask for primitives
[2019-09-19T22:01:04.341][Instance 1][Port 35050] Not forcing power of 2 sizes for textures
[2019-09-19T22:01:04.341][Instance 1][Port 35050] Using hardware CLAMP_TO_ZERO mode
[2019-09-19T22:01:04.341][Instance 1][Port 35050] Not opting in for HiDPI pixel scaling
[2019-09-19T22:01:04.352][Instance 1][Port 35050] Prism pipeline name = com.sun.prism.sw.SWPipeline
[2019-09-19T22:01:04.352][Instance 1][Port 35050] *** Fallback to Prism SW pipeline
[2019-09-19T22:01:04.356][Instance 1][Port 35050] (X) Got class = class com.sun.prism.sw.SWPipeline
[2019-09-19T22:01:04.357][Instance 1][Port 35050] Initialized prism pipeline: com.sun.prism.sw.SWPipeline
[2019-09-19T22:01:04.424][Instance 1][Port 35050] vsync: true vpipe: false
[2019-09-19T22:01:04.656][Instance 1][Port 35050] Exception in Application start method
[2019-09-19T22:01:04.661][Instance 1][Port 35050] QuantumRenderer: shutdown
[2019-09-19T22:01:04.664][Instance 1][Port 35050] java.lang.RuntimeException: Exception in Application start method
[2019-09-19T22:01:04.664][Instance 1][Port 35050] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
[2019-09-19T22:01:04.664][Instance 1][Port 35050] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$180(LauncherImpl.java:182)
[2019-09-19T22:01:04.664][Instance 1][Port 35050] at java.lang.Thread.run(Thread.java:748)
[2019-09-19T22:01:04.664][Instance 1][Port 35050] Caused by: java.lang.AbstractMethodError: com.sun.glass.ui.Timer._resume(J)V
[2019-09-19T22:01:04.664][Instance 1][Port 35050] at com.sun.glass.ui.Timer.resume(Timer.java:151)
[2019-09-19T22:01:04.664][Instance 1][Port 35050] at com.sun.javafx.tk.quantum.QuantumToolkit.resumeTimer(QuantumToolkit.java:511)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.javafx.tk.quantum.QuantumToolkit.access$000(QuantumToolkit.java:135)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.javafx.tk.quantum.QuantumToolkit$PulseTask.set(QuantumToolkit.java:202)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.javafx.tk.quantum.QuantumToolkit.setAnimationRunnable(QuantumToolkit.java:865)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.javafx.tk.quantum.MasterTimer.postUpdateAnimationRunnable(MasterTimer.java:105)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.updateAnimationRunnable(AbstractMasterTimer.java:324)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.access$100(AbstractMasterTimer.java:253)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.scenario.animation.AbstractMasterTimer.addAnimationTimer(AbstractMasterTimer.java:210)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at javafx.animation.AnimationTimer.start(AnimationTimer.java:104)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at javafx.scene.web.WebEngine$PulseTimer.start(WebEngine.java:1233)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at javafx.scene.web.WebEngine$PulseTimer.access$1000(WebEngine.java:1210)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at javafx.scene.web.WebEngine.<init>(WebEngine.java:902)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at javafx.scene.web.WebEngine.<init>(WebEngine.java:868)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at javafx.scene.web.WebView.<init>(WebView.java:273)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.machinepublishers.jbrowserdriver.App.start(App.java:123)
[2019-09-19T22:01:04.665][Instance 1][Port 35050] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$187(LauncherImpl.java:863)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$165(PlatformImpl.java:326)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] at com.sun.javafx.application.PlatformImpl.lambda$null$163(PlatformImpl.java:295)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] at java.security.AccessController.doPrivileged(Native Method)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] at com.sun.javafx.application.PlatformImpl.lambda$runLater$164(PlatformImpl.java:294)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] at com.machinepublishers.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:94)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] at com.machinepublishers.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:53)
[2019-09-19T22:01:04.666][Instance 1][Port 35050] ... 1 more
[2019-09-19T22:01:04.666][Instance 1][Port 35050]
Reply all
Reply to author
Forward
0 new messages