> 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 ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1344/files - new: https://git.openjdk.org/jfx/pull/1344/files/36aa3356..09be9a2a Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1344&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1344&range=00-01 Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jfx/pull/1344.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1344/head:pull/1344 PR: https://git.openjdk.org/jfx/pull/1344