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 148182 - org.netbeans.modules.schema2beans classes are loaded on NetBeans startup with LimeWire project
Summary: org.netbeans.modules.schema2beans classes are loaded on NetBeans startup with...
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, TEST
Depends on:
Blocks:
 
Reported: 2008-09-24 10:28 UTC by Alexander Kouznetsov
Modified: 2010-05-14 08:27 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktraces (94.49 KB, text/plain)
2008-09-24 10:29 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-09-24 10:28:29 UTC
Performance test reports that the following classes are loaded on NetBeans startup with LimeWare project:

    org.netbeans.modules.schema2beans.AttrProp
    org.netbeans.modules.schema2beans.BaseAttribute
    org.netbeans.modules.schema2beans.BaseBean
    org.netbeans.modules.schema2beans.BaseProperty
    org.netbeans.modules.schema2beans.Bean
    org.netbeans.modules.schema2beans.BeanComparator
    org.netbeans.modules.schema2beans.BeanProp
    org.netbeans.modules.schema2beans.BeanProp$EventMgr
    org.netbeans.modules.schema2beans.Common
    org.netbeans.modules.schema2beans.DDFactory
    org.netbeans.modules.schema2beans.DDLogFlags
    org.netbeans.modules.schema2beans.DOMBinding
    org.netbeans.modules.schema2beans.DOMBinding$BeanProperty
    org.netbeans.modules.schema2beans.GraphManager
    org.netbeans.modules.schema2beans.NodeFactory
    org.netbeans.modules.schema2beans.NullEntityResolver
    org.netbeans.modules.schema2beans.Version

Please don't load these classes unless they are really necessary.
Comment 1 Alexander Kouznetsov 2008-09-24 10:29:30 UTC
Created attachment 70424 [details]
Stacktraces
Comment 2 Petr Jiricka 2008-09-24 16:50:38 UTC
Looks like most of the usages are coming from JAX-WS, which in turn is loaded by J2SE project. 

Alexander, what specifically is expected to be loaded? Is J2SE project expected to be loaded? Do you have the LimeWare
project somewhere so one can test with it? I see it is a PHP project, right?
Comment 3 Petr Jiricka 2008-09-24 17:25:56 UTC
Looks like the important snippets of the stack traces are:

.....
o.n.m.websvc.jaxwsmodel.project.J2seJaxWsLookupProvider.getJaxWsModel(J2seJaxWsLookupProvider.java:176)
o.n.m.websvc.jaxwsmodel.project.J2seJaxWsLookupProvider.createAdditionalLookup(J2seJaxWsLookupProvider.java:82)
o.n.spi.project.support.LookupProviderSupport$DelegatingLookupImpl.doDelegate(LookupProviderSupport.java:167)
o.n.spi.project.support.LookupProviderSupport$DelegatingLookupImpl.<init>(LookupProviderSupport.java:126)
o.n.spi.project.support.LookupProviderSupport$DelegatingLookupImpl.<init>(LookupProviderSupport.java:116)
o.n.spi.project.support.LookupProviderSupport.createCompositeLookup(LookupProviderSupport.java:89)
o.n.m.java.j2seproject.J2SEProject.createLookup(J2SEProject.java:300)
.....


.....
o.n.m.j2ee.deployment.impl.ServerRegistry.getInstanceURLs(ServerRegistry.java:280)
o.n.m.j2ee.deployment.plugins.api.InstanceProperties.getInstanceList(InstanceProperties.java:290)
o.n.m.j2ee.deployment.devmodules.api.Deployment.getServerInstanceIDs(Deployment.java:296)
o.n.m.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots2(J2eePlatformSourceForBinaryQuery.java:90)
o.n.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:117)
o.n.m.java.source.classpath.GlobalSourcePath.getSourceRootForBinaryRoot(GlobalSourcePath.java:151)
.....


Cc'ing also Milan and Petr who can look into them.
Comment 4 Alexander Kouznetsov 2008-09-25 11:32:24 UTC
I've sent you the link to the project.
Comment 5 Petr Jiricka 2008-10-12 22:52:46 UTC
Assigning to Milan as the owner of the web services area.
Comment 6 Milan Kuchtiak 2010-05-14 08:27:41 UTC
The issue was fixed already.
See the issue 177644.