Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8353644

[Xorg] InitializeJavaFXLaunchTests fail in Ubuntu 24.04

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • jfx25
    • javafx
    • None

      InitializeJavaFXLaunch1Test and InitializeJavaFXLaunch2Test fail intermittently with initializationError on Ubuntu 24.04 system with Xorg Windowing system. These tests never fail when wayland is used on same system.

      Failure output:

      Exception in thread "Thread-6" java.lang.NullPointerException: Cannot invoke "com.sun.glass.ui.Timer.stop()" because "this.pulseTimer" is null
              at javafx.graphics@25-internal/com.sun.javafx.tk.quantum.QuantumToolkit.dispose(QuantumToolkit.java:849)
              at javafx.graphics@25-internal/com.sun.javafx.tk.quantum.QuantumToolkit$1.lambda$run$0(QuantumToolkit.java:248)
              at java.base/java.lang.Thread.run(Thread.java:1575)

      > Task :systemTests:test

      InitializeJavaFXLaunch1Test > initializationError FAILED
          org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
              at app//test.com.sun.javafx.application.InitializeJavaFXLaunchBase.initializeApplicationLaunch(InitializeJavaFXLaunchBase.java:48)
              at app//test.com.sun.javafx.application.InitializeJavaFXLaunch1Test.initialize(InitializeJavaFXLaunch1Test.java:37)

      Exception in thread "Glass/Prism Shutdown Hook" java.lang.InternalError: dispose timed out
              at javafx.graphics@25-internal/com.sun.javafx.tk.quantum.QuantumToolkit$1.run(QuantumToolkit.java:256)

      Fails 2/5 times

      Exception in thread "Thread-6" java.lang.NullPointerException: Cannot invoke "com.sun.glass.ui.Timer.stop()" because "this.pulseTimer" is null
          at javafx.graphics@25-internal/com.sun.javafx.tk.quantum.QuantumToolkit.dispose(QuantumToolkit.java:849)
          at javafx.graphics@25-internal/com.sun.javafx.tk.quantum.QuantumToolkit$1.lambda$run$0(QuantumToolkit.java:248)
          at java.base/java.lang.Thread.run(Thread.java:1575)

      > Task :systemTests:test

      InitializeJavaFXLaunch2Test > initializationError FAILED
          org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
              at app//test.com.sun.javafx.application.InitializeJavaFXLaunchBase.initializeApplicationLaunch(InitializeJavaFXLaunchBase.java:48)
              at app//test.com.sun.javafx.application.InitializeJavaFXLaunch2Test.initialize(InitializeJavaFXLaunch2Test.java:37)

      Exception in thread "Glass/Prism Shutdown Hook" java.lang.InternalError: dispose timed out
          at javafx.graphics@25-internal/com.sun.javafx.tk.quantum.QuantumToolkit$1.run(QuantumToolkit.java:256)

            arapte Ambarish Rapte
            jdv Jayathirth D V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: