0 Replies Latest reply: Dec 7, 2012 1:54 AM by attar RSS

    Pls help:"java.lang.RuntimeException: could not create platform window"

    attar
      My program show a stage and hide this one and repeat...
      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)

      what these mean?

      Edited by: attar on 2012-12-6 下午11:54