On Mon, 22 Jan 2024 09:56:01 GMT, Prasanta Sadhukhan <[email protected]> wrote:
>> Test fails with >> >> JFXPanelHiDPITest > testScale FAILED >> java.lang.NullPointerException: Cannot invoke >> "java.awt.image.BufferedImage.getWidth()" because "pixelsIm" is null >> >> because scenePeer is not yet created as the test is run with invokeLater. >> FIx is to make it run with invokeAndWait so that it waits for the scene to >> be created.. > > Prasanta Sadhukhan has updated the pull request incrementally with one > additional commit since the last revision: > > Use Platform.runAndWait looks good. Are there any other places where we invokeLater() instead of invokeAndWait()? And runLater() instead of runAndWait() ? ------------- Marked as reviewed by angorya (Reviewer). PR Review: https://git.openjdk.org/jfx/pull/1344#pullrequestreview-1837300279
