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

Win: Stage Exception:could not create platform window

XMLWordPrintable

        My program show a stage and hide this one and repeat...(show,hide,show,hide...)
        It is correct at first, but after about 15610 times, there is exception:

        java.lang.RuntimeException: could not create platform window
        at com.sun.glass.ui.Window.<init>(Unknown Source)
        at com.sun.glass.ui.win.WinWindow.<init>(Unknown Source)
        at com.sun.glass.ui.win.WinApplication.createWindow(Unknown Source)
        at com.sun.javafx.tk.quantum.WindowStage.initPlatformWindow(Unknown Source)
        at com.sun.javafx.tk.quantum.WindowStage.init(Unknown Source)
        at com.sun.javafx.tk.quantum.QuantumToolkit.createTKStage(Unknown Source)
        at javafx.stage.Stage.impl_visibleChanging(Unknown Source)
        at javafx.stage.Window$10.invalidated(Unknown Source)
        at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)
        at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)
        at javafx.stage.Window.setShowing(Unknown Source)
        at javafx.stage.Window.show(Unknown Source)
        at javafx.stage.Stage.show(Unknown Source)

              anthony Anthony Petrov (Inactive)
              attarjfx attar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: