This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 246342, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Windows 7 User Comments: JayChristopher: Taking debug screenshot of (undecorated) FX stage. GUEST: While trying to take a GUI snapshot, I am facing this issue. I am debugging a JavaFx based application. Stacktrace: java.lang.NullPointerException at com.sun.tools.jdi.MirrorImpl.validateMirror(MirrorImpl.java:67) at com.sun.tools.jdi.ClassTypeImpl.setValue(ClassTypeImpl.java:126) at org.netbeans.modules.debugger.jpda.jdi.ClassTypeWrapper.setValue(ClassTypeWrapper.java:469) at org.netbeans.modules.debugger.jpda.visual.RemoteServices.runOnStoppedThread(RemoteServices.java:488) at org.netbeans.modules.debugger.jpda.visual.RemoteFXScreenshot.take(RemoteFXScreenshot.java:235) at org.netbeans.modules.debugger.jpda.visual.RemoteFXScreenshot.takeCurrent(RemoteFXScreenshot.java:202)
Created attachment 158629 [details] stacktrace
Reproduced. Happens when AWT is initialized as well.
Fixed by changeset: 295880:855387214700 http://hg.netbeans.org/core-main/rev/855387214700
Integrated into 'main-silver', will be available in build *201603040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/855387214700 User: mentlicher@netbeans.org Log: #258129: Allow to initialize both AWT and FX service classes and take both screenshots.
*** Bug 258930 has been marked as a duplicate of this bug. ***