JDK-8119799 : *** unexpected PG access exception on enering fullscreen mode
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2012-01-18
  • Updated: 2015-06-17
  • Resolved: 2012-01-19
Related Reports
Duplicate :  
Description
I run HelloFullScrEx and the exception was printed : 

stage.setFullScreen(true);
stage.show();
stage.setScene(scene);

*** unexpected PG access
java.lang.Exception: Stack trace
	at java.lang.Thread.dumpStack(Thread.java:1342)
	at javafx.scene.Node.impl_getPGNode(Node.java:1791)
	at javafx.scene.Node.impl_updatePG(Node.java:429)
	at javafx.scene.shape.Shape.impl_updatePG(Shape.java:892)
	at javafx.scene.text.Text.impl_updatePG(Text.java:1446)
	at com.sun.javafx.tk.quantum.OverlayWarning.createOverlayGroup(OverlayWarning.java:119)
	at com.sun.javafx.tk.quantum.OverlayWarning.<init>(OverlayWarning.java:57)
	at com.sun.javafx.tk.quantum.WindowStage.applyFullScreen(WindowStage.java:508)
	at com.sun.javafx.tk.quantum.WindowStage.setScene(WindowStage.java:177)
	at javafx.stage.Window$SceneModel.updatePeerStage(Window.java:431)
	at javafx.stage.Window$SceneModel.invalidated(Window.java:384)
	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:88)
	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:122)
	at javafx.stage.Window.setScene(Window.java:354)
	at javafx.stage.Stage.setScene(Stage.java:130)
	at helloworld.HelloFullScrEx.setScene(HelloFullScrEx.java:24)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at helloworld.HelloFullScrEx.callMethod(HelloFullScrEx.java:39)
	at helloworld.HelloFullScrEx.start(HelloFullScrEx.java:50)
	at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:299)
	at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:153)
	at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:120)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
	at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
	at java.lang.Thread.run(Thread.java:722)