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 - Categorization and CategoryBuilder classes are loaded during NetBeans startup with LimeWire project
Summary: Categorization and CategoryBuilder classes are loaded during NetBeans startup...
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, TEST
Depends on: 152392
Blocks:
  Show dependency tree
 
Reported: 2008-11-11 19:47 UTC by Alexander Kouznetsov
Modified: 2009-03-25 09:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktraces (18.13 KB, text/plain)
2008-11-11 19:48 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-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