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.

Bug 212945

Summary: VisualDebugger does not work with JavaFX 2.2
Product: javafx Reporter: J Bachorik <yardus>
Component: DebuggerAssignee: J Bachorik <yardus>
Status: RESOLVED FIXED    
Severity: normal CC: kcr
Priority: P2    
Version: 7.2   
Hardware: PC   
OS: All   
URL: http://javafx-jira.kenai.com/browse/RT-21777
Issue Type: DEFECT Exception Reporter:

Description J Bachorik 2012-05-24 11:09:26 UTC
VisualDebugger can not be used on JavaFX 2.2
This is caused by the removal of internal API used by the debugger to obtain the applicaiton screenshot (http://javafx-jira.kenai.com/browse/RT-17398).
Unfortunately, plainly switching to the newly offered API method snapshot() does not work either as it requires to be called on the FX application thread, which is not the case right now.

Fixing will require substantial changes to how the remote methods (eg. taking the application screenshot) are executed.
Comment 1 J Bachorik 2012-05-24 13:49:41 UTC
fixed in http://hg.netbeans.org/profiler-main/rev/2424c49db8c8
Comment 2 kcr 2012-05-31 15:08:33 UTC
Note that we also have a simple fix for this in progress in JavaFX, if you would prefer not to make the more complex change in NetBeans.
Comment 3 kcr 2012-05-31 15:09:53 UTC
Although I see that you already fixed it in NetBeans, so I'm wondering whether it is still worth applying the fix in JavaFX?
Comment 4 Quality Engineering 2012-06-05 06:05:14 UTC
Integrated into 'main-golden', will be available in build *201206050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2424c49db8c8
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #212945: Adjusting the JavaFX VisualDebugger to the latest API changes in JavaFX 2.2