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

EGLFB: The ReadImage* tests generate NullPointerException at the moment of creating Image object

    Details

      Description

      The test generates NullPointerException in the process of creating Image object. See log.

      Exception text:
      java.lang.NullPointerException
      at com.sun.glass.ui.Screen.getScreens(Screen.java:64)
      at com.sun.javafx.tk.quantum.QuantumToolkit.getScreens(QuantumToolkit.java:707)
      at com.sun.javafx.tk.quantum.QuantumToolkit.getMaxPixelScale(QuantumToolkit.java:712)
      at com.sun.javafx.tk.quantum.QuantumToolkit.loadImage(QuantumToolkit.java:720)
      at javafx.scene.image.Image.loadImage(Image.java:952)
      at javafx.scene.image.Image.initialize(Image.java:738)
      at javafx.scene.image.Image.<init>(Image.java:552)
      at test.scenegraph.imageops.ReadImageRedTest.getImage(ReadImageRedTest.java:41)
      at test.scenegraph.imageops.ReadImageTestBase.readSinglyColor(ReadImageTestBase.java:45)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
      at client.test.runner.JUnitTestRunner.runUI(JUnitTestRunner.java:62)

      Affected tests:
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageBlueTest/readBlockColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageBlueTest/readSinglyColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageGreenTest/readBlockColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageGreenTest/readSinglyColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageOpacityTest/readBlockColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageOpacityTest/readSinglyColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageRedTest/readBlockColor
      SceneGraphAutomated/test/scenegraph/imageops/ReadImageRedTest/readSinglyColor

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                pzernov Pavel Zernov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: