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

NativeMediaPlayerTestPause Fails

XMLWordPrintable

      Test fails 4 out 5 times. The problem is "pauseListener.getPlayerEvent()" on line 55 is returning a null majority of the time. Before calling the method, you may need to wait a little longer. This seems to only occur for media:

      http://reavers.us.oracle.com/MediaJUnitTestFiles/wav/big-monkey-man-18secs.wav

      Here is the output on my machine:
      -----------------------------------------------------------------------------------------
      ERROR>JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit
      ERROR>Exception in Application start method
      ERROR>Exception in thread "main" java.lang.RuntimeException: Exception in Applic
      ation start method
      ERROR> at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
      pl.java:203)
      ERROR> at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
      18)
      ERROR> at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:56)
      ERROR> at java.lang.Thread.run(Thread.java:722)
      ERROR>Caused by: java.lang.NullPointerException
      ERROR> at com.sun.media.jfxmediaimpl.NativeMediaPlayerTestPause.runTest(NativeM
      ediaPlayerTestPause.java:55)
      ERROR> at mts.java.AbstractTest.start(AbstractTest.java:44)
      ERROR> at com.sun.javafx.application.LauncherImpl$4.run(LauncherImpl.java:164)
      ERROR> at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:126)
      ERROR> at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:102)
      ERROR> at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      ERROR> at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29
      )
      ERROR> at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
      ERROR> ... 1 more

      com.sun.media.jfxmediaimpl.NativeMediaPlayerTestPause failed.

            almatvee Alexander Matveev
            sjchan Steven Chan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: