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 152984

Summary: Categorization and CategoryBuilder classes are loaded during NetBeans startup with LimeWire project
Product: profiler Reporter: Alexander Kouznetsov <mrkam>
Component: BaseAssignee: issues@profiler <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: issues, jtulach
Priority: P3 Keywords: PERFORMANCE, TEST
Version: 6.x   
Hardware: PC   
OS: Windows XP   
URL: http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 152392    
Bug Blocks:    
Attachments: Stacktraces

Description Alexander Kouznetsov 2008-11-11 19:47:38 UTC
Performance test reports that the following classes are loaded during NetBeans startup with LimeWire project:

org.netbeans.modules.profiler.categories.Categorization
org.netbeans.modules.profiler.categories.CategoryBuilder

Please don't load them unless they are really necessary.

Comment from jtulach: 
> Same as 
> http://www.netbeans.org/issues/show_bug.cgi?id=142764
> but in different scenario (let Jarda B. comment, otherwise report new issue). 
> Btw. I am fighting in
> http://www.netbeans.org/issues/show_bug.cgi?id=152392
> to have infrastructure to allow fixing this issue.
Comment 1 Alexander Kouznetsov 2008-11-11 19:48:51 UTC
Created attachment 73639 [details]
Stacktraces
Comment 2 J Bachorik 2008-11-11 20:43:42 UTC
As I mentioned before in #142764 the classes are loaded because they are referenced from a correctly registered project
lookup provider. There are 2 possible solutions:
1. Implement changes proposed in #152392
2. Abandon the project lookup provider
Comment 3 J Bachorik 2009-03-23 16:20:00 UTC
Seems to have been fixed by using @ProjectServiceProvider annotation.
Could you, please, validate?
Comment 4 Jaroslav Tulach 2009-03-24 13:59:15 UTC
Verified in ergonomics#70132524f97c
Next time feel free to add new classes into blacklist.txt yourself.
Comment 5 Quality Engineering 2009-03-25 09:29:43 UTC
Integrated into 'main-golden', will be available in build *200903250219* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/70132524f97c
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #152984: Verifying that these classes are not loaded on start