NPE when restoring window size/position

Kevin Rushforth kevin.rushforth at oracle.com
Thu Jun 13 18:06:48 UTC 2019


This does look like a bug in JavaFX. As noted in the README [1], we will 
need a bug in JBS to track this. Can you file one at bugreport.java.com 
[2]? Also, please provide a simple test program.

Thanks.

-- Kevin

[1] https://github.com/javafxports/openjdk-jfx#issue-tracking
[2] http://bugreport.java.com/

On 6/13/2019 6:52 AM, Andrew Munn wrote:
> I frequently get an NPE when calling stage.show() after restoring window
> size/location on startup.   I can prevent it by calling stage.setX(value)
> with a smaller X value before calling stage.show().
>
> I filed this bug:
> https://github.com/javafxports/openjdk-jfx/issues/492
>
> Does anyone have a suggestion or know a fix for this?



More information about the openjfx-dev mailing list