On Mon, 22 Jan 2024 09:01:10 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
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..

Guess better will be to use Platform.runAndWait for scene to be created

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1344#issuecomment-1903600602

Reply via email to