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.
Build: NetBeans IDE 6.7.1 (Build 200907230233) VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304 OS: Mac OS X, 10.5.8, i386 User Comments: cbfiddle: Creating a free form project, trying to set sources for debugging. Stacktrace: java.lang.IllegalArgumentException: sources at org.netbeans.modules.debugger.ui.actions.ViewActions.openComponent(ViewActions.java:83) at org.netbeans.modules.debugger.ui.actions.ViewActions.actionPerformed(ViewActions.java:77) at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:115) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
Created attachment 86015 [details] stacktrace
Unlike current debuggerjpda module, JavaFX debugger defines it's own sources window. Since the user do not have JavaFX installed any more, the JavaFX window can not be found any more. This is a result of bad design of JavaFX debugger and can not be fixed in debuggercore/debuggerjpda. As a workaround, delete /Users/alan/.netbeans/6.7/config/Windows2Local/Components/sources.settings and /Users/alan/.netbeans/6.7/config/Windows2Locall/Groups/debugger/sources.wstcgrp files and restart NetBeans.
The described workaround did not by itself solve the problem. However, when I also tried removing javafx2 from netbeans.clusters and removing var/cache, it did work (I can now bring up the debugger sources window).
The debugger will be rewritten in new version.
Unable to reproduce in build 200910261401