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 170107 - IllegalArgumentException: sources
Summary: IllegalArgumentException: sources
Status: VERIFIED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Michal Skvor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 01:20 UTC by cbfiddle
Modified: 2009-10-27 11:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 148585


Attachments
stacktrace (1.64 KB, text/plain)
2009-08-10 01:20 UTC, cbfiddle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cbfiddle 2009-08-10 01:20:29 UTC
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)
Comment 1 cbfiddle 2009-08-10 01:20:35 UTC
Created attachment 86015 [details]
stacktrace
Comment 2 Martin Entlicher 2009-08-10 08:21:01 UTC
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.
Comment 3 cbfiddle 2009-08-19 16:34:58 UTC
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).
Comment 4 Michal Skvor 2009-10-16 09:58:54 UTC
The debugger will be rewritten in new version.
Comment 5 Alexandr Scherbatiy 2009-10-27 11:21:30 UTC
Unable to reproduce in build 200910261401