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 143065 - Startup regression: org.netbeans.modules.debugger.jpda
Summary: Startup regression: org.netbeans.modules.debugger.jpda
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, REGRESSION, TEST
: 143061 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-06 15:20 UTC by Alexander Kouznetsov
Modified: 2008-08-12 04:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktraces (6.68 KB, text/plain)
2008-08-06 15:23 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2008-08-06 15:20:20 UTC
Performance test reports there is a NetBeans startup regression which is caused by the loading of the following classes:

org.netbeans.modules.debugger.jpda.actions.CheckDeadlocksAction
org.netbeans.modules.debugger.jpda.ui.actions.GoToHitAction
org.netbeans.modules.debugger.jpda.ui.debugging.ThreadsHistoryAction

Please don't load these classes during NetBeans startup.

Comment from jtulach: "Possibly bug. Wrap by alwaysEnabledAction, I guess."
Comment 1 Alexander Kouznetsov 2008-08-06 15:23:55 UTC
Created attachment 66706 [details]
Stacktraces
Comment 2 Daniel Prusa 2008-08-07 14:30:08 UTC
*** Issue 143061 has been marked as a duplicate of this issue. ***
Comment 3 Martin Entlicher 2008-08-07 14:42:40 UTC
GoToHitAction does not have to be loaded, since it does not have a shortcut associated.

ThreadsHistoryAction has a shotrcut, therefore it must be registered in the module layer and has to be instantiated.
CheckDeadlocksAction is a new action, that was added into the Debug menu, therefore it should be added into the
whitelist. CheckDeadlocksAction should not be always enabled.

Thus please add org.netbeans.modules.debugger.jpda.actions.CheckDeadlocksAction and
org.netbeans.modules.debugger.jpda.ui.debugging.ThreadsHistoryAction into the whitelist, I'll remove
org.netbeans.modules.debugger.jpda.ui.actions.GoToHitAction from the startup sequence.
Comment 4 Martin Entlicher 2008-08-08 11:58:46 UTC
org.netbeans.modules.debugger.jpda.ui.actions.GoToHitAction should not be loaded now during startup:
changeset:   95315:d1910e6f8848
http://hg.netbeans.org/main/rev/d1910e6f8848
Comment 5 Quality Engineering 2008-08-08 15:44:43 UTC
Integrated into 'main-golden', available in build *200808081401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/d1910e6f8848
User: mentlicher@netbeans.org
Log: #143065 - Do not register GoToHitAction in module layer.
Comment 6 Alexander Kouznetsov 2008-08-11 15:38:24 UTC
Added two classes to whitelist. 
changeset:   95550:5260fbc90063
Verified GoToHitAction class with 080811 Dev build.
Comment 7 Quality Engineering 2008-08-12 04:07:32 UTC
Integrated into 'main-golden', available in build *200808120201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/5260fbc90063
User: Alexander Kouznetsov <mrkam@netbeans.org>
Log: Added 3 new classes to whitelist according to issues #143070 and #143065